[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-dev] Fwd: metacomments and aspectj - need suggestion
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Thu, 22 Oct 2009 14:12:57 -0700
- Delivered-to: aspectj-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=uCuMrxeY5kytKD8ZL7AhCKPhN96wa3npob5rpq4yFV4=; b=RP84osQlAJ/QfeaKcOnBT64NAQZYGDxIxa8r2qsM1UwKZOrDHvfPCGAvzu5epOgF/l AzjA/2n1XUg01+GMUeC5n82oOhenu4L0Gr43cUebo9MkBFG5SJXKJj0owQZA7eTwLBV3 us+/Xs64JPtu7zb4n9uxpLo9EsEDRy2/VCRY8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=f25BVkJj69hi7wlFBdiq1TKHnDdgpdrRDVerNqpxg/GNxD7uI5fGlSONzmCmWrq08Q wX40RPKkz1WtwMxvcpQ/EY8T1th0ZnItYyORG7csuNYErzKHae9I5NsSS6qqBwpuvlyh vcYXeLIWyYh74HDyF+djL2HOIxSGo2c1PrebM=
Hi there,
The ajc compiler was not designed to be extensible by end users. Its
focus has is efficiency and stability. However, the AspectBench
compiler is designed for extensibility and for testing out new ideas.
This might be more suitable to your purposes.
http://abc.comlab.ox.ac.uk/introduction
2009/10/22 Sergey Staroletov <sergey.staroletov@xxxxxxxxx>:
> Hello. I'm doing my first step research in AspectJ because I am thinking
> that one feature in it will help me in my big research project. I want to
> try to extend aspectj language to process my special comments (non-java
> doc, just single-line or multi-line user comments) in java files with
> aspectj weaving. In my idea It will be as:
>
> in aj file (added new word 'comment')
>
> pointcut point(String s) : comment(s);
>
> long before(String s) : point(s) {
>
> System.out.println(s) ;
>
> }
>
>
>
> in java file
>
> System.out.println("start") ;
>
> //comment here
>
> System.out.println("stop") ;
>
>
>
> and sample result
>
>
>
> start
>
> comment here
>
> stop
>
> I am thinking that instruction to process comment will be inserting between
> code line before comment and code line after comment
>
> It is possible to realize by myself and where can i find the develper
> documentation? (And what shall I do to patch existing code (I've downloaded
> AJT source to my Eclipse, built and tried to debug this - but I'm lost my
> way) ?
>
>
> --
> С уважением, Старолетов Сергей
>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>
>