Package: org.codehaus.groovy.ast.expr

## [Java] Class AnnotationConstantExpression

- org.codehaus.groovy.ast.expr.AnnotationConstantExpression

-     public class AnnotationConstantExpression
      extends ConstantExpression

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

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class ConstantExpression` | `EMPTY_EXPRESSION, EMPTY_STRING, FALSE, NULL, PRIM_FALSE, PRIM_TRUE, TRUE, VOID`
    `class Expression` | `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `AnnotationConstantExpression(AnnotationNode node)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public String` | `toString()`
    `` | `public void` | `visit(GroovyCodeVisitor visitor)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ConstantExpression` | `getConstantName, getText, getValue, isEmptyStringExpression, isFalseExpression, isNullExpression, isTrueExpression, setConstantName, toString, transformExpression, visit`
    `class Expression` | `getType, setType, transformExpression, transformExpressions, transformExpressions`
    `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`

- - ### Constructor Detail

    - #### public AnnotationConstantExpression(AnnotationNode node)

  - ### Method Detail

    - #### @Override public String toString()

    - #### @Override public void visit(GroovyCodeVisitor visitor)