org.qi4j.api.entity.association
Class NamedAssociationMixin.AssociationFilter

java.lang.Object
  extended by org.qi4j.api.entity.association.NamedAssociationMixin.AssociationFilter
All Implemented Interfaces:
AppliesToFilter
Enclosing class:
NamedAssociationMixin

public static class NamedAssociationMixin.AssociationFilter
extends Object
implements AppliesToFilter


Field Summary
 
Fields inherited from interface org.qi4j.api.common.AppliesToFilter
ALWAYS
 
Constructor Summary
NamedAssociationMixin.AssociationFilter()
           
 
Method Summary
 boolean appliesTo(Method method, Class<?> mixin, Class<?> compositeType, Class<?> modifierClass)
          Check if the Fragment should be applied or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedAssociationMixin.AssociationFilter

public NamedAssociationMixin.AssociationFilter()
Method Detail

appliesTo

public boolean appliesTo(Method method,
                         Class<?> mixin,
                         Class<?> compositeType,
                         Class<?> modifierClass)
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 invoked
mixin - mixin implementation for the method
compositeType - composite type
modifierClass - fragment that is being applies
Returns:
true if the filter passes, otherwise false