139140141142143144145146147148149
if (annotation != null && hasSuitableParameter(candidateMethod, event)) { if (listenerMethod == null) { listenerMethod = candidateMethod; } else { throw new DuplicateListenerMethodException(listener, candidateMethod, listenerMethod); } } }