Class DependentTypesTreeAnnotator
java.lang.Object
com.sun.source.util.SimpleTreeVisitor<Void,AnnotatedTypeMirror>
org.checkerframework.framework.type.treeannotator.TreeAnnotator
org.checkerframework.framework.util.dependenttypes.DependentTypesTreeAnnotator
- All Implemented Interfaces:
TreeVisitor<Void,
AnnotatedTypeMirror>
Standardizes Java expressions in annotations and also viewpoint-adapts field accesses. Other
viewpoint adaption is handled in
DependentTypesHelper
.-
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
ConstructorDescriptionDependentTypesTreeAnnotator
(AnnotatedTypeFactory atypeFactory, DependentTypesHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionvisitClass
(ClassTree tree, AnnotatedTypeMirror annotatedTypeMirror) visitIdentifier
(IdentifierTree tree, AnnotatedTypeMirror annotatedTypeMirror) visitMemberSelect
(MemberSelectTree tree, AnnotatedTypeMirror type) visitNewArray
(NewArrayTree tree, AnnotatedTypeMirror annotatedType) visitTypeCast
(TypeCastTree tree, AnnotatedTypeMirror annotatedType) visitVariable
(VariableTree tree, AnnotatedTypeMirror annotatedTypeMirror) Methods inherited from class org.checkerframework.framework.type.treeannotator.TreeAnnotator
log, visitBinary, visitMethod
Methods inherited from class com.sun.source.util.SimpleTreeVisitor
defaultAction, visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDefaultCaseLabel, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitGuardedPattern, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMethodInvocation, visitModifiers, visitModule, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitParenthesizedPattern, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitWhileLoop, visitWildcard, visitYield
-
Constructor Details
-
DependentTypesTreeAnnotator
-
-
Method Details
-
visitClass
- Specified by:
visitClass
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitClass
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
visitNewArray
- Specified by:
visitNewArray
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitNewArray
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
visitTypeCast
- Specified by:
visitTypeCast
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitTypeCast
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
visitVariable
- Specified by:
visitVariable
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitVariable
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
visitIdentifier
- Specified by:
visitIdentifier
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitIdentifier
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-
visitMemberSelect
- Specified by:
visitMemberSelect
in interfaceTreeVisitor<Void,
AnnotatedTypeMirror> - Overrides:
visitMemberSelect
in classSimpleTreeVisitor<Void,
AnnotatedTypeMirror>
-