org.qi4j.scripting.jruby
Class JRubyMixin.AppliesTo
java.lang.Object
org.qi4j.scripting.jruby.JRubyMixin.AppliesTo
- All Implemented Interfaces:
- AppliesToFilter
- Enclosing class:
- JRubyMixin
public static class JRubyMixin.AppliesTo
- extends Object
- implements AppliesToFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyMixin.AppliesTo
public JRubyMixin.AppliesTo()
appliesTo
public boolean appliesTo(Method method,
Class compositeType,
Class mixin,
Class modelClass)
- Description copied from interface:
AppliesToFilter
- Check if the Fragment should be applied or not. Will be call when applied to Mixins, Concerns, SideEffects.
- Specified by:
appliesTo
in interface AppliesToFilter
- Parameters:
method
- method that is invokedcompositeType
- mixin implementation for the methodmixin
- composite typemodelClass
- fragment that is being applies
- Returns:
- true if the filter passes, otherwise false