&& clazz.equals(classMappings.get(eventName).getDeclaringClass())) {
throw new StripesRuntimeException("The ActionBean " + clazz
+ " declares multiple event handlers for event '" + eventName + "'");
}
DefaultHandler defaultMapping = method.getAnnotation(DefaultHandler.class);
if (eventName != null) {
classMappings.put(eventName, method);
}
if (defaultMapping != null) {
// look for multiple default handlers within the current class