moosetechnology / Famix

An abstract representation of source code. Famix is generic and can describe applications in multiple programming languages.
MIT License
12 stars 22 forks source link

FamixMetamodelGenerator should only have direct children #733

Open jecisc opened 3 months ago

jecisc commented 3 months ago

From a moose meeting and an explication of Benoit:

FamixMetamodelGenerator should ideally only have direct subclasses and we should not a more than one level of subclasses.

This was decided to reduce the complexity of the generator structure.

If we want to compose things, we should declare a generator and use it as a submetamodel.

Currently we have one violation of this with the FamixBasicInfrastructureGenerator.

We should remove the use of the hierarchy and declare it as a submetamodel for its subclasses instead.