* @return a filter instance
* @see java.awt.event.InputEvent#getModifiersEx()
*/
public static ListenerMethodFilter inputEventModifiers(int eventId, final int expectedModifiersEx)
{
return new EventIdMethodFilter(eventId)
{
@Override
public boolean passes(Method method, Object[] args)
{
if (super.passes(method, args) && args[0] instanceof InputEvent)