org.codehaus.groovy.ast
Class MetadataNode
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.MetadataNode
- Direct Known Subclasses:
- ClassNode, ConstructorNode, FieldNode, ImportNode, MethodNode, PropertyNode
- public class MetadataNode
- extends ASTNode
Base class for any AST node which is capable of storing metadata
- Version:
- $Revision: 1.2 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataNode
public MetadataNode()
getAttributes
public java.util.Map getAttributes()
getAttributes
public java.lang.Object getAttributes(java.lang.String name)
addAttribute
public void addAttribute(java.lang.String name,
java.lang.Object value)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
isSynthetic
public boolean isSynthetic()
setSynthetic
public void setSynthetic(boolean synthetic)
Copyright © 2003-2004 The Codehaus. All Rights Reserved.