Top Description Fields Constructors Methods
org.codehaus.groovy.ast.expr

public Class AnnotationConstantExpression

extends ConstantExpression
Class Inheritance
Imports
org.codehaus.groovy.ast.AnnotationNode, .GroovyCodeVisitor, java.util.Map

Represents an annotation "constant" that may appear in annotation attributes (mainly used as a marker).

Field Summary

Inherited from org.codehaus.groovy.ast.expr.ConstantExpression:
EMPTY_EXPRESSIONEMPTY_STRINGFALSENULLPRIM_FALSEPRIM_TRUETRUEVOID

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides org.codehaus.groovy.ast.expr.ConstantExpression.toString.

Returns a string representation of the object.
public void
Inherited from org.codehaus.groovy.ast.expr.ConstantExpression:
getConstantNamegetTextgetValueisEmptyStringExpressionisFalseExpressionisNullExpressionisTrueExpressionsetConstantNametransformExpression

Constructor Detail

AnnotationConstantExpressionback to summary
public AnnotationConstantExpression(AnnotationNode node)

Method Detail

toStringback to summary
public String toString()

Overrides org.codehaus.groovy.ast.expr.ConstantExpression.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

visitback to summary
public void visit(GroovyCodeVisitor visitor)

Overrides org.codehaus.groovy.ast.expr.ConstantExpression.visit.