generate aspectj code [message #592347] |
Sun, 26 February 2006 22:27 |
Jens Bartelheimer Messages: 44 Registered: July 2009 |
Member |
|
|
Hi,
I am searching for a way to generate AspectJ code. Is there a way to
create an AST and generate code from this AST?
Further, I have found the code below during investigate the Meta-AspectJ
project (http://www-static.cc.gatech.edu/~yannis/maj/).
PointcutDec pdec1 = new PointcutDec(new Modifiers(Modifiers.PRIVATE),
new Identifier("pc").getString(), new Formals(), null);
System.out.println(pdec1.unparse()); //prints the pointcut
But unfortunately I does not found the same classes especially the
unparse() method in the current aspectj.jar or in the ajdt.jar.
Can somebody help?
Thanks,
Jens
|
|
|
Powered by
FUDForum. Page generated in 0.03223 seconds