Class ErroneousSnippet
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 TypeMethodDescriptionReturns what appears to be the intended Kind in this erroneous snippet.
-
Method Details
-
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.
-