koala.dynamicjava.tree
Class Annotation

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Expression
          extended by koala.dynamicjava.tree.Annotation
All Implemented Interfaces:
SourceInfo.Wrapper

public class Annotation
extends Expression


Constructor Summary
Annotation(ReferenceTypeName t, List<Pair<String,Expression>> vals)
           
Annotation(ReferenceTypeName t, List<Pair<String,Expression>> vals, SourceInfo si)
           
 
Method Summary
<T> T
acceptVisitor(Visitor<T> visitor)
          Allows a visitor to traverse the tree
 ReferenceTypeName getType()
           
 List<Pair<String,Expression>> getValues()
           
 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation(ReferenceTypeName t,
                  List<Pair<String,Expression>> vals)

Annotation

public Annotation(ReferenceTypeName t,
                  List<Pair<String,Expression>> vals,
                  SourceInfo si)
Method Detail

getType

public ReferenceTypeName getType()

getValues

public List<Pair<String,Expression>> getValues()

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

toString

public String toString()
Overrides:
toString in class Object