EventBusListenerMethodFilter filter = annotation.filter().newInstance();
EventScope scope = annotation.scope();
if (scope.equals(EventScope.UNDEFINED)) {
scope = event.getScope();
}
supports = supports && filter.filter(event.getPayload()) && event.getScope().equals(scope);
}
} catch (Exception e) {
throw new RuntimeException("A checked exception occurred while invoking listener method " + listenerMethod.getName(), e);
}
return supports;