Represent a Java file as an AST(Abstract Syntax Tree)
You may wonder what a Java class looks like as an Abstract Syntax Tree(AST). We can view AST of any Java class by using Eclipse ASTView. The AST can be easily showed in a separate view under eclipse IDE. For the following simple java class, the ASTView shows the complete AST. public class Test { … Read more