@Override
public boolean passes(Method method, Object[] args)
{
if (super.passes(method, args) && args[0] instanceof InputEvent)
{
InputEvent inputEvent = (InputEvent) args[0];
return passesModifiers(inputEvent, expectedModifiersEx);
}
return false;
}
};