final ListenerMethod annotation = method
.getAnnotation(ListenerMethod.class);
if (annotation != null) {
final Class<?>[] params = method.getParameterTypes();
if (params.length != 1 || !Event.class.isAssignableFrom(params[0])) {
throw new InvalidListenerMethodConstruction(listener,
originalListener, method);
}
}
}