if ( name == null && !Modifier.isAbstract(handler.getModifiers()) && Resolution.class.isAssignableFrom(handler.getReturnType()) ) {
if ( name == null && !Modifier.isAbstract(handler.getModifiers()) && Resolution.class.isAssignableFrom(handler.getReturnType()) && handler.getParameterTypes().length == 0) {
    public String getHandledEvent(Method handler) {        String name = super.getHandledEvent(handler);        // If the method isn't annotated, but does return a resolution and is        // not abstract (we already know it's public) then use the method name        if ( name == null && !Modifier.isAbstract(handler.getModifiers())                && Resolution.class.isAssignableFrom(handler.getReturnType()) ) {            name = handler.getName();        }        return name;    }