Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » generate aspectj code
generate aspectj code [message #592347] Sun, 26 February 2006 22:27
Jens Bartelheimer is currently offline 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
Previous Topic:generate aspectj code
Next Topic:cross-project aspects?
Goto Forum:
  


Current Time: Mon Sep 22 00:11:24 GMT 2014

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

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