Uses of Enum Class
jdk.jshell.Snippet.Kind
Package
Description
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
Modifier and TypeMethodDescriptionSnippet.kind()
TheSnippet.Kind
for the snippet.Snippet.SubKind.kind()
TheSnippet.Kind
that corresponds to thisSubKind
.SourceCodeAnalysis.SnippetWrapper.kind()
Returns theSnippet.Kind
of theSourceCodeAnalysis.SnippetWrapper.source()
.ErroneousSnippet.probableKind()
Returns what appears to be the intended Kind in this erroneous snippet.static Snippet.Kind
Returns the enum constant of this class with the specified name.static Snippet.Kind[]
Snippet.Kind.values()
Returns an array containing the constants of this enum class, in the order they are declared.