Interface AnnotationAccess

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T extends >
      T
      <T> annotationType)
      Returns an instantiated annotation, or null if the target does not have the indicated annotation.
      <T extends >
      boolean
      <T> annotationType)
      Checks to see if the target has an annotation of the given type.
    • Method Detail

      • hasAnnotation

        <T extends > boolean <T> annotationType)
        Checks to see if the target has an annotation of the given type.
      • getAnnotation

        <T extends > T <T> annotationType)
        Returns an instantiated annotation, or null if the target does not have the indicated annotation.