Uses of Class
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
Uses of DeclarationSnippet in jdk.jshell
Subclasses of DeclarationSnippet in jdk.jshell Modifier and Type Class Description
classSnippet for a method definition.
classSnippet for a type definition (a class, interface, enum, or annotation interface definition).
classSnippet for a variable definition.
Methods in jdk.jshell that return DeclarationSnippet Modifier and Type Method Description
()Return the Snippet which has the unresolved reference(s).