# Uses of Package
jdk.jshell

Packages that use 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.
jdk.jshell.spi
Defines the Service Provider Interface for pluggable JShell execution engines.

- 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 for `JShell` instances.
  JShell.Subscription
  Subscription is a token for referring to subscriptions so they can be unsubscribed.
  JShellConsole
  An interface providing functionality for `Console` in the user's snippet.
  JShellException
  The superclass of JShell generated exceptions
  MethodSnippet
  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 to `JShell.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.Attribute
  A span attribute which can be used to derive a coloring.
  SourceCodeAnalysis.Completeness
  Describes the completeness of the given input.
  SourceCodeAnalysis.CompletionInfo
  The result of `analyzeCompletion(String input)`.
  SourceCodeAnalysis.Documentation
  A documentation for a candidate for continuation of the given user's input.
  SourceCodeAnalysis.Highlight
  Assigns attributes usable for coloring to spans inside a snippet.
  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.
- Classes in jdk.jshell used by jdk.jshell.spi
  Class
  Description
  JShellConsole
  An interface providing functionality for `Console` in the user's snippet.