forked from tsaglam/JavaCodeEcorification
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Timur Sağlam edited this page Feb 25, 2017
·
29 revisions
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. For the metamodel extraction an automated approach was developed (see the EcoreMetamodelExtraction project and its wiki).
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).