Java AST

logomodiscosmall.jpg

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.

News

Software Languages Lab

A new tool for creating Java AST models in EMF is available: Java AST. 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. Read all about it in the release notes.

People involved

System Requirements

You'll need the following installed on your computer:

Download & Install

To download and install the JavaAST Eclipse plugin, install it from the following Eclipse update site:

More help on how to install Eclipse features from update sites can be found here.

Please report any bugs you find in the JavaAST bugzilla. The source code is available here: http://soft.vub.ac.be/viewvc/JavaAST/

Creating JavaAST models

JavaAST will only work on projects with the Java nature.

  1. Bring up the “Package Explorer” view by selecting the “Java” or “Plug-in Development” perspective (see Fig.1: Package Explorer).
  2. 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).

Fig.1: Package Explorer

Fig.2: Create Java AST model

Fig.3: Newly created Java AST model

 
research/mdd/javaast.txt · Last modified: 02.12.2009 16:02 by dwagelaa
 

© 2013 • Software Languages Lab • Submit comments and bugs to our Bugzilla or to the webmaster