public class TreePathScanner<R,P> extends TreeScanner<R,P>
| Constructor and Description |
|---|
TreePathScanner() |
| Modifier and Type | Method and Description |
|---|---|
TreePath |
getCurrentPath()
Returns the current path for the node, as built up by the currently
active set of scan calls.
|
R |
scan(Tree tree,
P p)
Scans a single node.
|
R |
scan(TreePath path,
P p)
Scans a tree from a position identified by a TreePath.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreduce, scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcardpublic R scan(TreePath path, P p)
path - the path identifying the node to be scannedp - a parameter value passed to visit methodspublic R scan(Tree tree, P p)
scan in class TreeScanner<R,P>tree - the node to be scannedp - a parameter value passed to the visit methodpublic TreePath getCurrentPath()
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-14-195246.buildd.src