Notice: This repository is not endorsed by or affiliated with DevBoost GmbH or Software Technology Group, Dresden University of Technology.
JaMoPP can parse Java source and byte code into EMF-based models and vice versa. It preserves source formatting and can be used for code analysis and refactoring.
- In Eclipse, after installing JaMoPP, you can load Java files (
.java
and.class
files) with any EMF-based tool similar to how you load other EMF models. - For stand-alone usage, use the code in JaMoPPC.java as a starting point.
- A detailed overview of JaMoPP is provided in this report.
Currently, JaMoPP only supports a direct inclusion of its sources into Eclipse.
- Use Eclipse Modeling Tools 2019-09 or 2019-12 (no other versions were tested) with Java 8.
- Install EMFText available at "http://update.emftext.org/release".
- Clone this repository.
- Import all existing projects in "JaMoPP/Core/*", "JaMoPP/Tests/*", "JaMoPP/Utils/*", and "JaMoPP/Eclipse-Integration/*".
- In "org.emftext.language.java/metamodel/", right-click on "java.genmodel" and choose "Open With - Genmodel Editor".
- In the opened window, use the icon in the upper right corner to choose "Generate Model + Edit". This automatically generates the model code.
- Right-click on "org.emftext.language.java/metamodel/java.cs" and choose "Generate Text Resource". This will generate the parser.
- In "org.emftext.language.java.resource.java.ui/src-gen/org.emftext.language.java.resource.java.ui/JavaOutlinePageTreeViewerComparator.java", correct the compilation error by applying the proposed solution and saving the file afterwards.
- Now, JaMoPP should be usable.
https://github.com/HansMartinA/JaMoPP
Original repository: https://github.com/DevBoost/JaMoPP
Florian Heidenreich, Jendrik Johannes, Mirko Seifert, and Christian Wende
Closing the Gap between Modelling and Java
In Proc. of 2nd International Conference on Software Language Engineering (SLE’09), LNCS. Springer, 2009.
[Authors' version (PDF)]
[Original publication at SpringerLink]
Florian Heidenreich, Jendrik Johannes, Mirko Seifert, and Christian Wende
Construct to Reconstruct – Reverse Engineering Java Code with JaMoPP
In Proc. of the International Workshop on Reverse Engineering Models from Software Artifacts (R.E.M.’08), 2008.
[Authors' version (PDF)]
Florian Heidenreich, Jendrik Johannes, Jan Reimann, Mirko Seifert, Christian Wende, Christian Werner, Claas Wilke, and Uwe Aßmann
Model-driven Modernisation of Java Programs with JaMoPP
In Proc. of First International Workshop on Model-Driven Software Migration (MDSM’11), 2011.
[Authors' version (PDF)]
[Original publication at CEUR Workshop Proceedings]