Uses of Package
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 for
JShellinstances.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 to
JShell.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.Describes the completeness of the given input.The result of
analyzeCompletion(String input).A documentation for a candidate for continuation of the given user's input.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.