Uses of Class
jdk.jshell.PersistentSnippet
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 PersistentSnippet in jdk.jshell
Modifier and TypeClassDescriptionclass
Grouping for all declaration Snippets: variable declarations (VarSnippet
), method declarations (MethodSnippet
), and type declarations (TypeDeclSnippet
).class
Snippet for an import declaration.class
Snippet for a method definition.class
Snippet for a type definition (a class, interface, enum, or annotation interface definition).class
Snippet for a variable definition.