Top Description Methods
org.eclipse.xtend.lib.macro.declaration

public Interface AnnotationTypeElementDeclaration

extends MemberDeclaration
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeElementDeclaration
Annotations
@Beta
Imports
org.eclipse.xtend.lib.macro.expression.Expression, com.google.common.annotations.Beta

Represents an annotation property.
Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the value or null if the is no default value
getDefaultValue
()

public Expression

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.
getDefaultValueExpression
()

public TypeReference

Returns:

the type of this annotation element
getType
()

Inherited from org.eclipse.xtend.lib.macro.declaration.MemberDeclaration:
getDeclaringTypegetDocCommentgetModifiersgetVisibilityisDeprecated

Method Detail

getDefaultValueback to summary
public Object getDefaultValue()
Returns:Object

the value or null if the is no default value

getDefaultValueExpressionback to summary
public Expression getDefaultValueExpression()
Returns:Expression

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.

getTypeback to summary
public TypeReference getType()
Returns:TypeReference

the type of this annotation element