Class EmptyAnnotationAccess

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Method Detail

      • hasAnnotation

        public <T extends > boolean <T> annotationType)
        Description copied from interface: AnnotationAccess
        Checks to see if the target has an annotation of the given type.
        Specified by:
        hasAnnotation in interface AnnotationAccess
      • getAnnotation

        public <T extends > T <T> annotationType)
        Description copied from interface: AnnotationAccess
        Returns an instantiated annotation, or null if the target does not have the indicated annotation.
        Specified by:
        getAnnotation in interface AnnotationAccess