Hi Martin,
For the generation I still use the xpand templates.
I have notice that the generated code with the template xpand is not equal to that generated with template xtext.
I am attaching a simple example.
Also if I use very large models, the method eGet of modelObject
public Object eGet (EStructuralFeature eStructuralFeature) {
....
final int FeatureId = eClass (). getFeatureID (eStructuralFeature);
.....
}
throws me an exception java.lang.IllegalArgumentException
Caused by: java.lang.IllegalArgumentException: EStructuralFeature: org.eclipse.emf.ecore.impl.EAttributeImpl@2583ed5 (name: documentIds) (ordered: true, unique: true, lowerBound: 0, upperBound: -1) (changeable: true, volatile: false, transient: false, defaultValueLiteral: null, unsettable: false, derived: false) (iD: false) not found in EClass com.nterpriseapps.model.internal.metadata.ExtensibleEClassImpl@755a9420 (name: Bond) (instanceClassName: null) (abstract: false, interface: false)
org.eclipse.emf.texo.model.AbstractModelObject.eGet(AbstractModelObject.java:59)
com.nterpriseapps.mdl.catalogue.core.CatalogueModelFactory$CatalogueItemModelObject.eGet(CatalogueModelFactory.java:2688)
.....
The method fails to find a feature that is inherited from an interface.