koala.dynamicjava.tree
Class EnumDeclaration.EnumConstant

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Declaration
          extended by koala.dynamicjava.tree.EnumDeclaration.EnumConstant
All Implemented Interfaces:
SourceInfo.Wrapper
Enclosing class:
EnumDeclaration

public static class EnumDeclaration.EnumConstant
extends Declaration


Constructor Summary
EnumDeclaration.EnumConstant(ModifierSet mods, String _name, List<? extends Expression> _args, List<Node> _classBody, SourceInfo si)
           
 
Method Summary
<T> T
acceptVisitor(Visitor<T> visitor)
          Allows a visitor to traverse the tree
 List<Expression> getArguments()
           
 List<Node> getClassBody()
           
 String getName()
           
 
Methods inherited from class koala.dynamicjava.tree.Declaration
getModifiers, setModifiers
 
Methods inherited from class koala.dynamicjava.tree.Node
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumDeclaration.EnumConstant

public EnumDeclaration.EnumConstant(ModifierSet mods,
                                    String _name,
                                    List<? extends Expression> _args,
                                    List<Node> _classBody,
                                    SourceInfo si)
Method Detail

getName

public String getName()

getArguments

public List<Expression> getArguments()

getClassBody

public List<Node> getClassBody()

acceptVisitor

public <T> T acceptVisitor(Visitor<T> visitor)
Description copied from class: Node
Allows a visitor to traverse the tree

Specified by:
acceptVisitor in class Node
Parameters:
visitor - the visitor to accept