koala.dynamicjava.tree
Class Annotation
java.lang.Object
koala.dynamicjava.tree.Node
koala.dynamicjava.tree.Expression
koala.dynamicjava.tree.Annotation
- All Implemented Interfaces:
- SourceInfo.Wrapper
public class Annotation
- extends Expression
Annotation
public Annotation(ReferenceTypeName t,
List<Pair<String,Expression>> vals)
Annotation
public Annotation(ReferenceTypeName t,
List<Pair<String,Expression>> vals,
SourceInfo si)
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