| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcheckers.types.VisitorState
public class VisitorState extends Object
Represents the state of a visitor. Stores the relevant information to find the type of 'this' in the visitor.
| Constructor and Description | 
|---|
| VisitorState() | 
| Modifier and Type | Method and Description | 
|---|---|
|  ClassTree | getClassTree() | 
|  AnnotatedTypeMirror.AnnotatedDeclaredType | getClassType() | 
|  AnnotatedTypeMirror.AnnotatedDeclaredType | getMethodReceiver() | 
|  MethodTree | getMethodTree() | 
|  TreePath | getPath() | 
|  void | setClassTree(ClassTree ct)Updates the tree of the current class currently visited | 
|  void | setClassType(AnnotatedTypeMirror.AnnotatedDeclaredType act)Updates the type of the current class currently visited | 
|  void | setMethodReceiver(AnnotatedTypeMirror.AnnotatedDeclaredType mrt)Updates the method receiver type currently visited | 
|  void | setMethodTree(MethodTree mt)Updates the mehtod currently visited | 
|  void | setPath(TreePath path)Sets the current path for the visitor. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public VisitorState()
| Method Detail | 
|---|
public void setClassType(AnnotatedTypeMirror.AnnotatedDeclaredType act)
public void setClassTree(ClassTree ct)
public void setMethodReceiver(AnnotatedTypeMirror.AnnotatedDeclaredType mrt)
public void setMethodTree(MethodTree mt)
public void setPath(TreePath path)
path - public AnnotatedTypeMirror.AnnotatedDeclaredType getClassType()
public ClassTree getClassTree()
public AnnotatedTypeMirror.AnnotatedDeclaredType getMethodReceiver()
public MethodTree getMethodTree()
public TreePath getPath()
public String toString()
toString in class Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||