Uses of Package
jdk.jshell
Package | Description |
---|---|
jdk.jshell |
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
|
-
Classes in jdk.jshell used by jdk.jshell Class Description DeclarationSnippet Grouping for all declaration Snippets: variable declarations (VarSnippet
), method declarations (MethodSnippet
), and type declarations (TypeDeclSnippet
).Diag Diagnostic information for a Snippet.ImportSnippet Snippet for an import declaration.JShell The JShell evaluation state engine.JShell.Builder Builder forJShell
instances.JShell.Subscription Subscription is a token for referring to subscriptions so they can be unsubscribed.JShellException The superclass of JShell generated exceptionsMethodSnippet Snippet for a method definition.PersistentSnippet Grouping for Snippets which persist and influence future code.Snippet A Snippet represents a snippet of Java source code as passed toJShell.eval(java.lang.String)
.Snippet.Kind Describes the general kind of snippet.Snippet.Status Describes the current state of a Snippet.Snippet.SubKind The detailed variety of a snippet.SnippetEvent A description of a change to a Snippet.SourceCodeAnalysis Provides analysis utilities for source code input.SourceCodeAnalysis.Completeness Describes the completeness of the given input.SourceCodeAnalysis.CompletionInfo The result ofanalyzeCompletion(String input)
.SourceCodeAnalysis.Documentation A documentation for a candidate for continuation of the given user's input.SourceCodeAnalysis.QualifiedNames List of possible qualified names.SourceCodeAnalysis.SnippetWrapper The wrapping of a snippet of Java source into valid top-level Java source.SourceCodeAnalysis.Suggestion A candidate for continuation of the given user's input.TypeDeclSnippet Snippet for a type definition (a class, interface, enum, or annotation interface definition).VarSnippet Snippet for a variable definition.