-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The Ecorification of Java code was originally developed as a part of a bachelor's thesis. The thesis is accessible at KITopen.
This is a proof of concept for the ecorification of Java code. The ecorification tries to decorate Java code with the functionality of model code generated from Ecore metamodels. The Java code will be interlaced with the generated model code of an Ecore metamodel that was extracted from the original Java code (see 0. Concept). To extract Ecore metamodels, an automated approach was developed (see the EcoreMetamodelExtraction project and its wiki).
IMPORTANT: This first implementation is prototypical and is opposed to the Ecore metamodel extraction limited to the ecorification of few selected features.
The prototypical ecorification of a Java project consists out of the following steps:
- Extracting an Ecore metamodel from the project (see EcoreMetamodelExtraction).
- Generating a GenModel for the Ecore metamodel using it to generate the model code (see 1. Ecore Model CodeGen).
- Generating the wrapper classes (see 2. Wrapper Generation)
- Editing the inheritance of the original classes (see 3. Inheritance Manipulation).
- Encapsulating the fields of the original classes before removing them and their access methods.