Class AnnotationListenerMethodSelector

java.lang.Object
com.atlassian.plugin.event.impl.AnnotationListenerMethodSelector
All Implemented Interfaces:
ListenerMethodSelector

public class AnnotationListenerMethodSelector extends Object implements ListenerMethodSelector
Listener method selector that looks for a specific marker annotation
  • Constructor Details

    • AnnotationListenerMethodSelector

      public AnnotationListenerMethodSelector()
    • AnnotationListenerMethodSelector

      public AnnotationListenerMethodSelector(Class<? extends Annotation> markerAnnotation)
  • Method Details

    • isListenerMethod

      public boolean isListenerMethod(Method method)
      Description copied from interface: ListenerMethodSelector
      Determines if the method is a listener method
      Specified by:
      isListenerMethod in interface ListenerMethodSelector
      Parameters:
      method - The possible listener method. Cannot be null.
      Returns:
      True if this is a listener method