Interface AnnotationTypeElementDeclaration

All Superinterfaces:
AnnotationTarget, Declaration, Element, MemberDeclaration, NamedElement
All Known Subinterfaces:
MutableAnnotationTypeElementDeclaration

@Beta public interface AnnotationTypeElementDeclaration extends MemberDeclaration
Represents an annotation property.
Author:
Sven Efftinge
  • Method Details

    • getDefaultValueExpression

      Expression getDefaultValueExpression()
      Returns:
      the expression describing the default value, or null if there is no default value or this annotation element is declared in an external Java class.
    • getDefaultValue

      Object getDefaultValue()
      Returns:
      the value or null if the is no default value
    • getType

      TypeReference getType()
      Returns:
      the type of this annotation element