Interface AnnotationTypeDeclaration

All Superinterfaces:
AnnotationTarget, Declaration, Element, MemberDeclaration, NamedElement, Type, TypeDeclaration
All Known Subinterfaces:
MutableAnnotationTypeDeclaration

@Beta public interface AnnotationTypeDeclaration extends TypeDeclaration
Author:
Sven Efftinge
  • Method Details

    • findDeclaredAnnotationTypeElement

      AnnotationTypeElementDeclaration findDeclaredAnnotationTypeElement(String name)
      Parameters:
      name - the name of the annotation element
      Returns:
      the annotation type element with the given name, declared by this annotation type declaration or null if no such annotation type element exists
    • getDeclaredAnnotationTypeElements

      Iterable<? extends AnnotationTypeElementDeclaration> getDeclaredAnnotationTypeElements()
      Returns:
      the annotation type elements declared by this annotation type declaration