| [aspectj-dev] Fwd: metacomments and aspectj - need suggestion |
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) ?