Uses of Class
jdk.jshell.Snippet.Kind
| Package | Description |
|---|---|
| jdk.jshell |
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
|
-
Uses of Snippet.Kind in jdk.jshell
Methods in jdk.jshell that return Snippet.Kind Modifier and Type Method Description Snippet.KindSnippet. kind()TheSnippet.Kindfor the snippet.Snippet.KindSnippet.SubKind. kind()TheSnippet.Kindthat corresponds to thisSubKind.Snippet.KindSourceCodeAnalysis.SnippetWrapper. kind()Returns theSnippet.Kindof theSourceCodeAnalysis.SnippetWrapper.source().Snippet.KindErroneousSnippet. probableKind()Returns what appears to be the intended Kind in this erroneous snippet.static Snippet.KindSnippet.Kind. valueOf(String name)Returns the enum constant of this type with the specified name.static Snippet.Kind[]Snippet.Kind. values()Returns an array containing the constants of this enum type, in the order they are declared.