Code example for Method

Methods: getDeclaringClass

0
    implements AppliesToFilter 
{ 
    @Override 
    public boolean appliesTo( Method method, Class mixin, Class compositeType, Class modifierClass )
    { 
        return method.getDeclaringClass() != Composite.class;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java