- java.lang.Object
-
- jdk.jshell.Snippet
-
- jdk.jshell.ErroneousSnippet
-
-
Nested Class Summary
-
Nested classes/interfaces declared in class jdk.jshell.Snippet
Snippet.Kind, Snippet.Status, Snippet.SubKind
-
-
Method Summary
Modifier and Type Method Description Snippet.Kind
probableKind()
Returns what appears to be the intended Kind in this erroneous snippet.
-
-
-
Method Detail
-
probableKind
public Snippet.Kind probableKind()
Returns what appears to be the intended Kind in this erroneous snippet.- Returns:
- the probable Kind; or
Snippet.Kind.ERRONEOUS
if that cannot be determined.
-
-