MoDisco Tool - Java 2 Standard Edition 5.0 Discovery Tool

MoDisco Logo

Keywords

Java, Eclipse JDT


Overview

This generic tool is about discovering a complete model out of the source code of a Java 5 application. The model, which conforms to the J2SE5 metamodel, describes all the structural concepts (from packages up to method invocations and comments) and links between code elements (method invocations, variables usage, class inheritance, etc).

This tool is provided by MIA-Software and its development is being supported by the IST European MODELPLEX project (MODELing solution for comPLEX software systems, FP6-IP 34081).

The overall approach is summarized in the following figure:



"Java 2 Standard Edition 5.0" Tool Overview

The discoverer, named J2SE5Discoverer, uses the Eclipse JDT to analyse an Eclipse Java project. The abstract syntax tree (AST) provided by the JDT is used to create the model elements describing the structure of the application. Then, a resolving process is used to link the elements between their usage and their definition.

The model provided by this discoverer conforms to the J2SE5 metamodel which is available at the Download section.

This metamodel allows a navigation through the elements of the application. For example, by following the links between model elements (method invocation to method declaration), it is possible to discover the control flow of the application.


Related Use Cases

The aim of this discoverer is to support these families of use cases :

  • retro-modeling (transformation of the resulting model to UML or a DSL)
  • quality analysis (computation of metrics on the resulting model)
  • refactoring (transformation of the resulting model and re-generation to Java)


Documentation

Not yet available.


Download

Choose a download

The J2SE5 metamodel is available in the Ecore format. It is also available here in the KM3 textual format.
Not yet available.

General Information