Interface AnnotationProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T extends java.lang.annotation.Annotation>
      T
      getAnnotation​(java.lang.Class<T> annotationClass)
      Searches for the specified annotation, returning the matching annotation instance.
    • Method Detail

      • getAnnotation

        <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationClass)
        Searches for the specified annotation, returning the matching annotation instance.
        Type Parameters:
        T -
        Parameters:
        annotationClass - used to select the annotation to return
        Returns:
        the annotation, or null if not found