DefaultHandler defaultHandler = methodDec.getAnnotation(DefaultHandler.class);
if (defaultHandler != null) {
event.setDefaultEvent(true);
}
HandlesEvent handlesEvent = methodDec.getAnnotation(HandlesEvent.class);
if (handlesEvent != null) {
event.setName(handlesEvent.value());
}
// Now find the resolutions and add those to the event info
SortedSet<String> resolutions = getResolutions(methodDec);
event.setResolutions(resolutions);