A class, which extends ImplicitlyImportedFeatures and overrides getExtensionClasses() and getStaticImportClasses(), should call super.getExtensionClasses() and super.getStaticImportClasses(). My understanding is that getExtensionClasses() and getStaticImportClasses are called for each model (XBase-derivative). So for each model instance, the lists from the above methods are supposed to be constructed anew.
It would be better, if the lists are constructed in a static block and the methods return the ready list. For this to wok in a meaningful way, super.getExtensionClasses() and super.getStaticImportClasses() should be static, so that a derived class can call them from a static block.
A class, which
extends ImplicitlyImportedFeaturesand overridesgetExtensionClasses()andgetStaticImportClasses(), should callsuper.getExtensionClasses()andsuper.getStaticImportClasses(). My understanding is thatgetExtensionClasses()andgetStaticImportClassesare called for each model (XBase-derivative). So for each model instance, the lists from the above methods are supposed to be constructed anew.It would be better, if the lists are constructed in a static block and the methods return the ready list. For this to wok in a meaningful way,
super.getExtensionClasses()andsuper.getStaticImportClasses()should be static, so that a derived class can call them from a static block.