Hi,
It is added on instance side of MooseAbstractGroup, as #allWithSubTypesOf: and, #allWithType:
Cheers, Benoit
Le lun. 5 août 2019 à 11:06, Tudor Girba tudor@tudorgirba.com a écrit :
Hi,
Interesting. Is this added on the instance side or MooseModel?
Cheers, Tudor
On Aug 5, 2019, at 11:00 AM, Benoît Verhaeghe badetitou@gmail.com
wrote:
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- feenk.com
"We can create beautiful models in a vacuum. But, to get them effective we have to deal with the inconvenience of reality."
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev