org.codehaus.groovy.ast
Class AnnotatedNode
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
- Direct Known Subclasses:
- ClassNode, ConstructorNode, FieldNode, ImportNode, MethodNode, PropertyNode
- public class AnnotatedNode
- extends ASTNode
Base class for any AST node which is capable of being annotationed
- Version:
- $Revision: 1.1 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotations
private java.util.Map annotations
synthetic
private boolean synthetic
AnnotatedNode
public AnnotatedNode()
getAnnotations
public java.util.Map getAnnotations()
getAnnotations
public AnnotationNode getAnnotations(java.lang.String name)
addAnnotation
public void addAnnotation(java.lang.String name,
AnnotationNode value)
addAnnotations
public void addAnnotations(java.util.List annotations)
isSynthetic
public boolean isSynthetic()
setSynthetic
public void setSynthetic(boolean synthetic)
Copyright © 2003-2005 The Codehaus. All Rights Reserved.