@Exported 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()
Gets 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.
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.