public class VisitorState
extends java.lang.Object
Constructor and Description |
---|
VisitorState() |
Modifier and Type | Method and Description |
---|---|
Pair<com.sun.source.tree.Tree,AnnotatedTypeMirror> |
getAssignmentContext() |
com.sun.source.tree.ClassTree |
getClassTree() |
AnnotatedTypeMirror.AnnotatedDeclaredType |
getClassType() |
AnnotatedTypeMirror.AnnotatedDeclaredType |
getMethodReceiver() |
com.sun.source.tree.MethodTree |
getMethodTree() |
com.sun.source.util.TreePath |
getPath() |
void |
setAssignmentContext(Pair<com.sun.source.tree.Tree,AnnotatedTypeMirror> assCtxt) |
void |
setClassTree(com.sun.source.tree.ClassTree ct)
Updates the tree of the class currently visited.
|
void |
setClassType(AnnotatedTypeMirror.AnnotatedDeclaredType act)
Updates the type of the class currently visited.
|
void |
setMethodReceiver(AnnotatedTypeMirror.AnnotatedDeclaredType mrt)
Updates the method receiver type currently visited.
|
void |
setMethodTree(com.sun.source.tree.MethodTree mt)
Updates the method currently visited.
|
void |
setPath(com.sun.source.util.TreePath path)
Sets the current path for the visitor.
|
java.lang.String |
toString() |
public void setClassType(AnnotatedTypeMirror.AnnotatedDeclaredType act)
public void setClassTree(com.sun.source.tree.ClassTree ct)
public void setMethodReceiver(AnnotatedTypeMirror.AnnotatedDeclaredType mrt)
public void setMethodTree(com.sun.source.tree.MethodTree mt)
public void setAssignmentContext(Pair<com.sun.source.tree.Tree,AnnotatedTypeMirror> assCtxt)
public void setPath(com.sun.source.util.TreePath path)
public AnnotatedTypeMirror.AnnotatedDeclaredType getClassType()
public com.sun.source.tree.ClassTree getClassTree()
public AnnotatedTypeMirror.AnnotatedDeclaredType getMethodReceiver()
public com.sun.source.tree.MethodTree getMethodTree()
public Pair<com.sun.source.tree.Tree,AnnotatedTypeMirror> getAssignmentContext()
public com.sun.source.util.TreePath getPath()
@SideEffectFree public java.lang.String toString()
toString
in class java.lang.Object