protected class ClassValAnnotatedTypeFactory.ClassValTreeAnnotator extends TreeAnnotator
C.class: @ClassVal(fully qualified name of C) Class.forName(name): @ClassVal("name") exp.getClass(): @ClassBound(fully qualified classname of exp)
atypeFactory
DEFAULT_VALUE
Modifier | Constructor and Description |
---|---|
protected |
ClassValTreeAnnotator(ClassValAnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
Void |
visitMemberSelect(MemberSelectTree tree,
AnnotatedTypeMirror type) |
Void |
visitMethodInvocation(MethodInvocationTree tree,
AnnotatedTypeMirror type) |
visitBinary, visitMethod
defaultAction, visit, visit, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitModifiers, visitNewArray, visitNewClass, visitOther, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitVariable, visitWhileLoop, visitWildcard
protected ClassValTreeAnnotator(ClassValAnnotatedTypeFactory factory)
public Void visitMemberSelect(MemberSelectTree tree, AnnotatedTypeMirror type)
visitMemberSelect
in interface TreeVisitor<Void,AnnotatedTypeMirror>
visitMemberSelect
in class SimpleTreeVisitor<Void,AnnotatedTypeMirror>
public Void visitMethodInvocation(MethodInvocationTree tree, AnnotatedTypeMirror type)
visitMethodInvocation
in interface TreeVisitor<Void,AnnotatedTypeMirror>
visitMethodInvocation
in class SimpleTreeVisitor<Void,AnnotatedTypeMirror>