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.
|
Modifier and Type | Method | Description |
---|---|---|
Snippet.Kind |
Snippet.kind() |
The
Snippet.Kind for the snippet. |
Snippet.Kind |
Snippet.SubKind.kind() |
The
Snippet.Kind that corresponds to this SubKind . |
Snippet.Kind |
SourceCodeAnalysis.SnippetWrapper.kind() |
Returns the
Snippet.Kind of the
SourceCodeAnalysis.SnippetWrapper.source() . |
Snippet.Kind |
ErroneousSnippet.probableKind() |
Returns what appears to be the intended Kind in this erroneous snippet.
|
static Snippet.Kind |
Snippet.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.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1