Constructor and Description |
---|
VisitorState() |
Modifier and Type | Method and Description |
---|---|
@Mutable AnnotatedTypeMirror |
getAssignmentContext() |
@Nullable ClassTree |
getClassTree() |
AnnotatedTypeMirror.AnnotatedDeclaredType |
getClassType() |
AnnotatedTypeMirror.AnnotatedDeclaredType |
getMethodReceiver() |
@Nullable MethodTree |
getMethodTree() |
@Nullable TreePath |
getPath() |
void |
setAssignmentContext(@Mutable AnnotatedTypeMirror assCtxt) |
void |
setClassTree(@Nullable 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(@Nullable MethodTree mt)
Updates the method currently visited
|
void |
setPath(@Nullable TreePath path)
Sets the current path for the visitor.
|
@ReadOnly String |
toString() |
public void setClassType(AnnotatedTypeMirror.AnnotatedDeclaredType act)
public void setClassTree(@Nullable ClassTree ct)
public void setMethodReceiver(AnnotatedTypeMirror.AnnotatedDeclaredType mrt)
public void setMethodTree(@Nullable MethodTree mt)
public void setAssignmentContext(@Mutable AnnotatedTypeMirror assCtxt)
public void setPath(@Nullable TreePath path)
path
- public AnnotatedTypeMirror.AnnotatedDeclaredType getClassType()
public AnnotatedTypeMirror.AnnotatedDeclaredType getMethodReceiver()
public @Nullable MethodTree getMethodTree()
public @Mutable AnnotatedTypeMirror getAssignmentContext()