public interface Tree
WARNING: This interface and its sub-interfaces are subject to change as the Java™ programming language evolves. These interfaces are implemented by the JDK Java compiler (javac) and should not be implemented either directly or indirectly by other applications.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Tree.Kind
Enumerates all kinds of trees.
|
| Modifier and Type | Method and Description |
|---|---|
<R,D> R |
accept(TreeVisitor<R,D> visitor,
D data)
Accept method used to implement the visitor pattern.
|
Tree.Kind |
getKind()
Returns the kind of this tree.
|
Tree.Kind getKind()
<R,D> R accept(TreeVisitor<R,D> visitor, D data)
R - result type of this operation.D - type of additional data.visitor - the visitor to be calleddata - a value to be passed to the visitor
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-14-195246.buildd.src