add allUsing:
Posted by
VERHAEGHE Benoit on
Aug 05, 2019; 9:00am
URL: https://forum.world.st/add-allUsing-tp5101947.html
Hi all,
We have added the method "allUsing:".
It takes a Trait as a parameter and will return all the entities in your model that use the trait.
Example:
mooseModel allUsing: FamixTClass
will return all the FamixJavaClass and FamixJavaInnerClass (if FamixJavaInnerClass --|> FamixJavaClass)
It will be the main method if you want to query your model with abstract entities.
Benoît
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev