I had some trouble last night attaching (reusing) several AppliesToFilter
classes to a sideeffect.
While the annotation doc says they are or'ed, so that if any of those matches the Mixin is applied, the code in
AbstractModifierDeclaration uses an AndAppliesTo composition to add up all the filters. Which naturally fails as the
different filter classes are mutually exclusive.
AMD: 104 : appliesToFilter = new AndAppliesToFilter(
appliesToFilter, filter );
also in line 68: appliesToFilter = new AndAppliesToFilter( appliesToFilter, new
ImplementsMethodAppliesToFilter() );
My workaround solution for the tutorial, was to provide a custom filter that
manually or's a list of filters.
But this wouldn't work with implicitely inherited applies to lists.
Michael
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev