"Tobias C. Rittweiler" writes:
Mark Evenson writes:
It would be better to have a tool that can grok the Abstract Syntax Tree for Java, transforming that. [Jackpot][1] should be the kind of tool that would help with this sort of thing,
By the way, Java6 contains an API to the Java AST:
http://java.sun.com/javase/6/docs/api/javax/tools/JavaCompiler.html
That url linked to the Compiler API, here the direct link to the Compiler Tree Api:
http://java.sun.com/javase/6/docs/jdk/api/javac/tree/index.html
-T.