// As a result, an exception like NoClassDefFoundError is thrown
// from getMethod.
Logger.getLogger(EventsImpl.class.getName()).log(Level.SEVERE, null, ex);
}
if (m!=null) {
RestrictTo fooBar = m.getParameterTypes()[0].getAnnotation(RestrictTo.class);
if (fooBar!=null) {
EventTypes interested = EventTypes.create(fooBar.value());
if (!event.is(interested)) {
continue;
}
}
}