Re: [abc-dev] Extension of abc

From: Léonard Babineaux <>
Date: Fri, 14 Mar 2008 14:15:22 +0000

Thank you Pavel.
It is a desire for me to to be able to parse an aspectj file so I can change
programatically the aspect according to features of the base code. I would
then like to be able to regenerate the aspectj code again. I like abc
because it says it is able to do matching in the base.

However, this is not possible with abc? Is there some other tool that you
know that can aid me in my desires?

Alternatively, is it possible for me to be able to change the aspect and
then make it produce woven .java files instead of .aj files?

Thank you again,

On Fri, Mar 14, 2008 at 1:25 PM, Pavel Avgustinov <> wrote:

> I don't think this is implemented. Some AST nodes may have reasonable
> prettyprint methods, but we're a long way off being able to produce a
> source
> representation of a complete AST.
> The conversion to Java source that you refer to is simply done by the Dava
> decompiler; to the best of my knowledge there is no decompiler for
> AspectJ.
> What exactly are you trying to achieve? Maybe we can help in some other
> way...
> - Pavel
> On Friday 14 March 2008 13:04:17 Léonard Babineaux wrote:
> > Greetings,
> > I have read the documentation and the publication of extension of the
> abc
> > compiler. Is it possible to parse aspectj source files, alter the AST of
> > the aspectj form and then make it back into a new aspectj (.aj) file?
> The
> > extension documentation reads that it is possible to reconvert to .java
> > file but not say anything about to .aj. I would be sincerely grateful if
> > you could tell me if this is possible with abc compiler.
> >
> > Thank you,
> > Léo
Received on Fri Mar 14 2008 - 14:15:26 GMT

This archive was generated by hypermail 2.2.0 : Fri Mar 14 2008 - 15:20:11 GMT