checkers.util.test
Class TypeOutputtingChecker.Visitor

java.lang.Object
  extended by com.sun.source.util.TreeScanner<R,P>
      extended by com.sun.source.util.TreePathScanner<R,P>
          extended by checkers.source.SourceVisitor<Void,Void>
              extended by 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


Field Summary
 
Fields inherited from class checkers.source.SourceVisitor
atypeFactory, checker, elements, root, trees, types
 
Constructor Summary
TypeOutputtingChecker.Visitor(SourceChecker checker, CompilationUnitTree root)
           
 
Method Summary
 Void visitClass(ClassTree node, Void p)
           
 Void visitMethod(MethodTree node, Void p)
           
 Void visitVariable(VariableTree node, Void p)
           
 
Methods inherited from class com.sun.source.util.TreePathScanner
getCurrentPath, scan, scan
 
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, 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
 

Constructor Detail

TypeOutputtingChecker.Visitor

public TypeOutputtingChecker.Visitor(SourceChecker checker,
                                     CompilationUnitTree root)
Method Detail

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>