public void setAnnotationClass(Class<? extends Annotation> annotationClass) {
        this.annotationClass = annotationClass;
    }
Sets the type of annotation that indicates a method that should be represented as an {@link EventListener}.
The default value is {@link Subscribe}.

@param annotationClass the type of annotation that indicates a method that should be represented as an
                       {@link EventListener}.  The default value is {@link Subscribe}.
event/src/main/java/org/apache/shiro/event/support/AnnotationEventListenerResolver.java