Interface AnnotationAccess

    • Method Detail

      • hasAnnotation

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

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