I'm afraid there isn't. What we have is that you can precompile a vague aspect or even some pure java and then use XML to fill in pointcuts (see http://www.eclipse.org/aspectj/doc/released/README-1612.html ). I suppose you could combine the two things. Use JavaFileObject to build the java and then use XML to define it as an aspect. That ought to work.
cheers, Andy On 17 April 2013 12:25, aryenneb <aryen...@hotmail.com> wrote: > Hi, > In Java, there is a JavaFileObject class which can be used to compile and > run Java code on the fly from within another Java program. Is there a > similar construct in AspectJ? In short, I want to generate, compile and > run > an aspect, from within another file. Is this possible? > Thanks for any suggestions. > Aryenne > > > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/JavaFileObject-equivalent-in-AspectJ-tp4650887.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users >
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users