# Uses of Class
jdk.nashorn.api.tree.Diagnostic.Kind

Packages that use Diagnostic.Kind
Package | Description
--- | ---
jdk.nashorn.api.tree | Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.

## Uses of Diagnostic.Kind in jdk.nashorn.api.tree

Methods in jdk.nashorn.api.tree that return Diagnostic.Kind
Modifier and Type | Method | Description
--- | --- | ---
`Diagnostic.Kind` | Diagnostic.`getKind()` | Deprecated, for removal: This API element is subject to removal in a future version. Gets the kind of this diagnostic, for example, error or warning.
`static Diagnostic.Kind` | Diagnostic.Kind.`valueOf​(String name)` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the enum constant of this type with the specified name.
`static Diagnostic.Kind[]` | Diagnostic.Kind.`values()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns an array containing the constants of this enum type, in the order they are declared.