public abstract class PersistentSnippet extends Snippet
JShell.drop(jdk.jshell.PersistentSnippet)
.
PersistentSnippet
is immutable: an access to
any of its methods will always return the same result.
and thus is thread-safe.
Snippet.Kind, Snippet.Status, Snippet.SubKind
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Name of the Snippet.
|