Class PersistentSnippet
java.lang.Object
jdk.jshell.Snippet
jdk.jshell.PersistentSnippet
- Direct Known Subclasses:
- DeclarationSnippet,- ImportSnippet
Grouping for Snippets which persist and influence future code.
 A persistent snippet can be
 overwritten
 with new input.
 
 PersistentSnippet is immutable: an access to
 any of its methods will always return the same result.
 and thus is thread-safe.
- Since:
- 9
- 
Nested Class SummaryNested classes/interfaces declared in class jdk.jshell.SnippetSnippet.Kind, Snippet.Status, Snippet.SubKind
- 
Method Summary
- 
Method Details- 
name
 
-