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, MethodNode
- public class MetadataNode
- extends ASTNode
Base class for any AST node which is capable of storing metadata
- 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 |
MetadataNode
public MetadataNode()
getAttributes
public Map getAttributes()
getAttributes
public Object getAttributes(String name)
addAttribute
public void addAttribute(String name,
Object value)
setAttribute
public void setAttribute(String name,
Object value)
Copyright © 2003 The Codehaus. All Rights Reserved.