Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » generate aspectj code
generate aspectj code [message #62256] Sun, 26 February 2006 22:27
Jens Bartelheimer is currently offline Jens BartelheimerFriend
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
Previous Topic:AJDT on Mustang (java 1.6) problem
Next Topic:generate aspectj code
Goto Forum:
  


Current Time: Tue Apr 16 12:31:56 GMT 2024

Powered by FUDForum. Page generated in 2.02282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top