Module org.eclipse.xtend.lib.macro
Interface AnnotationTypeElementDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MemberDeclaration,NamedElement
- All Known Subinterfaces:
MutableAnnotationTypeElementDeclaration
Represents an annotation property.
- Author:
- Sven Efftinge
-
Method Summary
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDeclaringType, getDocComment, getModifiers, getVisibility, isDeprecatedMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
Method Details
-
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
Object getDefaultValue()- Returns:
- the value or
nullif the is no default value
-
getType
TypeReference getType()- Returns:
- the type of this annotation element
-