- Snippet - Class in jdk.jshell
-
A Snippet represents a snippet of Java source code as passed to
JShell.eval
.
- SnippetEvent - Class in jdk.jshell
-
A description of a change to a Snippet.
- SourceCodeAnalysis - Class in jdk.jshell
-
Provides analysis utilities for source code input.
- SourceCodeAnalysis.QualifiedNames - Class in jdk.jshell
-
List of possible qualified names.
- SPIResolutionException - Exception in jdk.jshell.spi
-
The construction and throw of this exception is embedded in code generated by
the JShell core implementation in such a way that, upon executing a
RECOVERABLE_DEFINED
user method, this exception is thrown.
- StatementSnippet - Class in jdk.jshell
-
Snippet for a statement.
- StreamingExecutionControl - Class in jdk.jshell.execution
-
An implementation of the
ExecutionControl
execution engine SPI which streams requests to a remote agent where
execution takes place.
- Snippet.Kind - Enum in jdk.jshell
-
Describes the general kind of snippet.
- Snippet.Status - Enum in jdk.jshell
-
Describes the current state of a Snippet.
- Snippet.SubKind - Enum in jdk.jshell
-
The detailed variety of a snippet.
- SourceCodeAnalysis.Completeness - Enum in jdk.jshell
-
Describes the completeness of the given input.
- SINGLE_STATIC_IMPORT_SUBKIND - jdk.jshell.Snippet.SubKind
-
Single-Static-Import Declaration.
- SINGLE_TYPE_IMPORT_SUBKIND - jdk.jshell.Snippet.SubKind
-
Single-Type-Import Declaration.
- STATEMENT - jdk.jshell.Snippet.Kind
-
A statement.
- STATEMENT_SUBKIND - jdk.jshell.Snippet.SubKind
-
A statement.
- STATIC_IMPORT_ON_DEMAND_SUBKIND - jdk.jshell.Snippet.SubKind
-
Static-Import-on-Demand Declaration.
- SourceCodeAnalysis.CompletionInfo - Interface in jdk.jshell
-
The result of analyzeCompletion(String input)
.
- SourceCodeAnalysis.Documentation - Interface in jdk.jshell
-
A documentation for a candidate for continuation of the given user's input.
- SourceCodeAnalysis.SnippetWrapper - Interface in jdk.jshell
-
The wrapping of a snippet of Java source into valid top-level Java
source.
- SourceCodeAnalysis.Suggestion - Interface in jdk.jshell
-
A candidate for continuation of the given user's input.
- SPIResolutionException(int) - Constructor for exception jdk.jshell.spi.SPIResolutionException
-
Constructs an SPI layer exception indicating that a
DeclarationSnippet
with unresolved references has been
encountered.
- StoppedException() - Constructor for exception jdk.jshell.spi.ExecutionControl.StoppedException
-
- StreamingExecutionControl(ObjectOutput, ObjectInput) - Constructor for class jdk.jshell.execution.StreamingExecutionControl
-
Creates an instance.
- signature() - Method in class jdk.jshell.MethodSnippet
-
The full type signature of the method, including return type.
- signature() - Method in interface jdk.jshell.SourceCodeAnalysis.Documentation
-
The signature of the given element.
- snippet() - Method in class jdk.jshell.SnippetEvent
-
The Snippet which has changed
- snippets() - Method in class jdk.jshell.JShell
-
Return all snippets.
- source() - Method in class jdk.jshell.Snippet
-
Return the source code of the snippet.
- source() - Method in interface jdk.jshell.SourceCodeAnalysis.CompletionInfo
-
Source code for the first Snippet of code input.
- source() - Method in interface jdk.jshell.SourceCodeAnalysis.SnippetWrapper
-
Returns the input that is wrapped.
- sourceCodeAnalysis() - Method in class jdk.jshell.JShell
-
Access to source code analysis functionality.
- sourceToWrappedPosition(int) - Method in interface jdk.jshell.SourceCodeAnalysis.SnippetWrapper
-
Maps character position within the source to character position
within the wrapped.
- status() - Method in class jdk.jshell.SnippetEvent
-
The after status.
- status(Snippet) - Method in class jdk.jshell.JShell
-
Return the status of the snippet.
- stop() - Method in class jdk.jshell.execution.DirectExecutionControl
-
Interrupts a running invoke.
- stop() - Method in class jdk.jshell.execution.JdiDefaultExecutionControl
-
Interrupts a running remote invoke by manipulating remote variables
and sending a stop via JDI.
- stop() - Method in class jdk.jshell.execution.LocalExecutionControl
-
- stop() - Method in class jdk.jshell.execution.RemoteExecutionControl
-
- stop() - Method in class jdk.jshell.execution.StreamingExecutionControl
-
- stop() - Method in class jdk.jshell.JShell
-
Attempt to stop currently running evaluation.
- stop() - Method in interface jdk.jshell.spi.ExecutionControl
-
Interrupts a running invoke.
- subKind() - Method in class jdk.jshell.Snippet
-