Uses of Package
jdk.jshell
Package
Description
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
-
ClassDescriptionGrouping for all declaration Snippets: variable declarations (
VarSnippet
), method declarations (MethodSnippet
), and type declarations (TypeDeclSnippet
).Diagnostic information for a Snippet.Snippet for an import declaration.The JShell evaluation state engine.Builder forJShell
instances.Subscription is a token for referring to subscriptions so they can be unsubscribed.The superclass of JShell generated exceptionsSnippet for a method definition.Grouping for Snippets which persist and influence future code.A Snippet represents a snippet of Java source code as passed toJShell.eval(java.lang.String)
.Describes the general kind of snippet.Describes the current state of a Snippet.The detailed variety of a snippet.A description of a change to a Snippet.Provides analysis utilities for source code input.A span attribute which can be used to derive a coloring.Describes the completeness of the given input.The result ofanalyzeCompletion(String input)
.A documentation for a candidate for continuation of the given user's input.Assigns attributes usable for coloring to spans inside a snippet.List of possible qualified names.The wrapping of a snippet of Java source into valid top-level Java source.A candidate for continuation of the given user's input.Snippet for a type definition (a class, interface, enum, or annotation interface definition).Snippet for a variable definition.