public abstract class TreeAnnotator extends SimpleTreeVisitor<Void,AnnotatedTypeMirror>
TreeAnnotator
is an abstract SimpleTreeVisitor to be
used with ListTreeAnnotator
Modifier and Type | Field and Description |
---|---|
protected AnnotatedTypeFactory |
atypeFactory |
DEFAULT_VALUE
Constructor and Description |
---|
TreeAnnotator(AnnotatedTypeFactory atypeFactory) |
Modifier and Type | Method and Description |
---|---|
Void |
visitMethod(MethodTree node,
AnnotatedTypeMirror p)
This method is not called when checking a method invocation against its
declaration.
|
defaultAction, visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethodInvocation, visitModifiers, visitNewArray, visitNewClass, visitOther, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitVariable, visitWhileLoop, visitWildcard
protected final AnnotatedTypeFactory atypeFactory
public TreeAnnotator(AnnotatedTypeFactory atypeFactory)
public Void visitMethod(MethodTree node, AnnotatedTypeMirror p)
visitMethod
in interface TreeVisitor<Void,AnnotatedTypeMirror>
visitMethod
in class SimpleTreeVisitor<Void,AnnotatedTypeMirror>
TypeAnnotator