I just stumble upon the case when adding Famix.SourceAnchor to the metamodel. It does not make much sense to make SourceAnchor a subclass of FamixEntity.
Yet a common way to 'get' the Famix metamodel (found here and there in the code) is to use FAMIXEntity withAllSubclasses (which misses SourceAnchor)
Yet another way is to use PackageInfo, but then I need to know all packages in which Famix extensions have been defined.
Any suggestion?
Note: we dont have this problem with MooseModel, because MooseModel uses MooseEntity withAllSubclasses :) but I dont want to always have this dependency on Moose when loading Famix alone
-- Simon