Creating AST from source code in java
843810Feb 12 2010 — edited Oct 22 2010Hi,
Anyone know how to use the new Java Compiler API (or Tree API) to generate a AST from source-code that I can walk and i count no of IF or FOR in given java source file.
i have found threads relating to this but i need more information as i need to count no of IF statements in file.
Thank you.