Interface AnnotationTarget

    • Method Detail

      • getAnnotations

        java.lang.Iterable<? extends AnnotationReference> getAnnotations()
        Returns:
        the annotations this element is annotated with
      • findAnnotation

        AnnotationReference findAnnotation​(Type annotationType)
        Parameters:
        annotationType -
        Returns:
        the annotation reference for the given type, or null if this element is not annotated with the given annotation type