Uses of Class
jdk.jshell.SnippetEvent
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 SnippetEvent in jdk.jshell
Modifier and TypeMethodDescriptionRemove a declaration from the state.Evaluate the input String, including definition and/or execution, if applicable.Modifier and TypeMethodDescriptionJShell.onSnippetEvent
(Consumer<SnippetEvent> listener) Register a callback to be called when the Status of a snippet changes.