public class AnnotationConstantExpression extends ConstantExpression
Represents an annotation "constant" that may appear in annotation attributes (mainly used as a marker).
Fields inherited from class | Fields |
---|---|
class ConstantExpression |
EMPTY_EXPRESSION, EMPTY_STRING, FALSE, NULL, PRIM_FALSE, PRIM_TRUE, TRUE, VOID |
class Expression |
EMPTY_ARRAY |
Constructor and description |
---|
AnnotationConstantExpression(AnnotationNode node) |
Type Params | Return Type | Name and description |
---|---|---|
|
public String |
toString() |
|
public void |
visit(GroovyCodeVisitor visitor) |
Methods inherited from class | Name |
---|---|
class ConstantExpression |
getConstantName, getText, getValue, isEmptyStringExpression, isFalseExpression, isNullExpression, isTrueExpression, setConstantName, toString, transformExpression, visit |
class Expression |
getType, setType, transformExpression |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.