| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<SnippetEvent> |
JShell.drop(PersistentSnippet snippet)
Remove a declaration from the state.
|
abstract java.util.List<SnippetEvent> |
JShell.eval(java.lang.String input)
Evaluate the input String, including definition and/or execution, if
applicable.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JShell.Subscription |
JShell.onSnippetEvent(java.util.function.Consumer<SnippetEvent> listener)
Register a callback to be called when the Status of a snippet changes.
|