| Package | Description | 
|---|---|
| com.sun.source.tree | Provides interfaces to represent source code as abstract syntax
 trees (AST). | 
| Modifier and Type | Method and Description | 
|---|---|
| Tree.Kind | Tree. getKind()Gets the kind of this tree. | 
| static Tree.Kind | Tree.Kind. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Tree.Kind[] | Tree.Kind. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.