Java AST creates EMF JavaAST models from Eclipse Java projects. These models can be used for analysis and model transformation. This tool was based on the MoDisco Java Abstract Syntax Discovery Tool.
The JavaAST plugin offers a right-click action on Java projects that allows you to create a JavaAST EMF model of all Java source code in that project.
You'll need the following installed on your computer:
To download and install the JavaAST Eclipse plugin, install it from the following Eclipse update site:
- Bring up the “Package Explorer” view by selecting the “Java” or “Plug-in Development” perspective (see Fig.1: Package Explorer).
- Right-click the Java project for which you want to create a JavaAST model and select “JavaAST → Create Java AST model” (see Fig.2: Create Java AST model).
A JavaAST model with the project name will be created and stored in the root of the Java project (see Fig.3: Newly created Java AST model).