Class ListTreeAnnotator
java.lang.Object
com.sun.source.util.SimpleTreeVisitor<Void,AnnotatedTypeMirror>
org.checkerframework.framework.type.treeannotator.TreeAnnotator
org.checkerframework.framework.type.treeannotator.ListTreeAnnotator
- All Implemented Interfaces:
TreeVisitor<Void,
AnnotatedTypeMirror>
- Direct Known Subclasses:
DebugListTreeAnnotator
ListTreeAnnotator is a TreeVisitor that executes a list of
TreeAnnotator
for each tree
visited.
Checkers should not extend ListTreeAnnotator; they should instead pass a custom TreeAnnotator to the constructor.
- See Also:
-
Field Summary
Fields inherited from class org.checkerframework.framework.type.treeannotator.TreeAnnotator
atypeFactory
Fields inherited from class com.sun.source.util.SimpleTreeVisitor
DEFAULT_VALUE
-
Constructor Summary
ConstructorDescriptionListTreeAnnotator
(List<TreeAnnotator> annotators) ListTreeAnnotator
(TreeAnnotator... annotators) -
Method Summary
Methods inherited from class org.checkerframework.framework.type.treeannotator.TreeAnnotator
log, visitBinary, visitMethod
Methods inherited from class com.sun.source.util.SimpleTreeVisitor
visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDefaultCaseLabel, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitGuardedPattern, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitParenthesizedPattern, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield
-
Field Details
-
annotators
-
-
Constructor Details
-
ListTreeAnnotator
- Parameters:
annotators
- the annotators that will be executed for each tree scanned by this TreeAnnotator. They are executed in the order passed in.
-
ListTreeAnnotator
- Parameters:
annotators
- the annotators that will be executed for each tree scanned by this TreeAnnotator. They are executed in the order passed in.
-
-
Method Details
-
defaultAction
- Overrides:
defaultAction
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
toString
-