Interface AnnotationTypeElementDeclaration
-
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MemberDeclaration,NamedElement
- All Known Subinterfaces:
MutableAnnotationTypeElementDeclaration
@Beta public interface AnnotationTypeElementDeclaration extends MemberDeclaration
Represents an annotation property.- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetDefaultValue()ExpressiongetDefaultValueExpression()TypeReferencegetType()-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotations
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDeclaringType, getDocComment, getModifiers, getVisibility, isDeprecated
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
-
-
-
Method Detail
-
getDefaultValueExpression
Expression getDefaultValueExpression()
- Returns:
- the expression describing the default value, or
nullif there is no default value or this annotation element is declared in an external Java class.
-
getDefaultValue
java.lang.Object getDefaultValue()
- Returns:
- the value or
nullif the is no default value
-
getType
TypeReference getType()
- Returns:
- the type of this annotation element
-
-