checkers.util.test
Class TypeOutputtingChecker.Visitor
java.lang.Object
com.sun.source.util.TreeScanner<R,P>
com.sun.source.util.TreePathScanner<R,P>
checkers.source.SourceVisitor<Void,Void>
checkers.util.test.TypeOutputtingChecker.Visitor
- All Implemented Interfaces:
- TreeVisitor<Void,Void>
- Enclosing class:
- TypeOutputtingChecker
public static class TypeOutputtingChecker.Visitor
extends SourceVisitor<Void,Void>
Prints the types of the class and all of its enclosing
fields, methods, and inner classes
Methods inherited from class com.sun.source.util.TreeScanner |
reduce, scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDisjointType, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitLabeledStatement, visitLiteral, visitMemberSelect, visitMethodInvocation, visitModifiers, visitNewArray, visitNewClass, visitOther, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitWhileLoop, visitWildcard |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeOutputtingChecker.Visitor
public TypeOutputtingChecker.Visitor(SourceChecker checker,
CompilationUnitTree root)
visitClass
public Void visitClass(ClassTree node,
Void p)
- Specified by:
visitClass
in interface TreeVisitor<Void,Void>
- Overrides:
visitClass
in class TreeScanner<Void,Void>
visitMethod
public Void visitMethod(MethodTree node,
Void p)
- Specified by:
visitMethod
in interface TreeVisitor<Void,Void>
- Overrides:
visitMethod
in class TreeScanner<Void,Void>
visitVariable
public Void visitVariable(VariableTree node,
Void p)
- Specified by:
visitVariable
in interface TreeVisitor<Void,Void>
- Overrides:
visitVariable
in class TreeScanner<Void,Void>