In (default) FAMIX type and classes are very similar
For example FamixType has attributes, methods, supertype, ...
As for (java) interfaces they are implemented as FamixClass with the
property isInterface
I guess there are lots of historical reasons behind this.
So therewas asClassScope at the begining of Moosechef if I recall
correctly, but it was renamed asTypeScope
A look in moose-dev list shows a discussion o this topic in february
2013: "Issue 906 in moose-technology:"
nicolas
On 21/09/2015 16:17, Alexandre Bergel wrote:
hi!
Why is there not a method atMethodScope?
Also, why is there not a atClassScope? Apparently this method is deprecated and one
should use atTypeScope instead. However, a class define a type, but a type does not
necessarily defines a class. It may define an interface. I have the impression that
atTypeScope and atClassScope are both relevant. We could even introduce atInterfaceScope.
Cheers,
Alexandre