- ImportSnippet - Class in jdk.jshell
-
Snippet for an import declaration.
- isActive - Variable in enum jdk.jshell.Snippet.Status
-
- isComplete - Variable in enum jdk.jshell.SourceCodeAnalysis.Completeness
-
Is the first snippet of source complete.
- isDefined - Variable in enum jdk.jshell.Snippet.Status
-
Is the snippet currently part of the defined state of the JShell?
Is it visible to compilation of other snippets?
- isPersistent - Variable in enum jdk.jshell.Snippet.Kind
-
True if this kind of snippet adds a declaration or declarations
which are visible to subsequent evaluations.
- isSmart - Variable in class jdk.jshell.SourceCodeAnalysis.Suggestion
-
Is it an input continuation that matches the target type and is thus more
likely to be the desired continuation.
- id() - Method in class jdk.jshell.Snippet
-
The unique identifier for the snippet.
- idGenerator(BiFunction<Snippet, Integer, String>) - Method in class jdk.jshell.JShell.Builder
-
Set the generator of identifying names for Snippets.
- imports() - Method in class jdk.jshell.JShell
-
Returns the active import snippets.
- in(InputStream) - Method in class jdk.jshell.JShell.Builder
-
Input for the running evaluation (it's System.in
).
- isError() - Method in class jdk.jshell.Diag
-
Is this diagnostic and error (as opposed to a warning or note)
- isExecutable() - Method in enum jdk.jshell.Snippet.SubKind
-
Is this SubKind
executable?
- isResolvable() - Method in class jdk.jshell.SourceCodeAnalysis.QualifiedNames
-
Whether the given simple name in the original code refers to a resolvable element.
- isSignatureChange() - Method in class jdk.jshell.SnippetEvent
-
Has the signature changed? Coming in or out of definition
(status.isDefined) is always a signature change.
- isStatic() - Method in class jdk.jshell.ImportSnippet
-
When this snippet represent static import, this method returns true.
- isUpToDate() - Method in class jdk.jshell.SourceCodeAnalysis.QualifiedNames
-
Whether the result is based on up to date data.
- 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.CompletionInfo - Class in jdk.jshell
-
The result of analyzeCompletion(String input)
.
- SourceCodeAnalysis.QualifiedNames - Class in jdk.jshell
-
List of possible qualified names.
- SourceCodeAnalysis.Suggestion - Class in jdk.jshell
-
A candidate for continuation of the given user's input.
- StatementSnippet - Class in jdk.jshell
-
Snippet for a statement.
- 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.
- source - Variable in class jdk.jshell.SourceCodeAnalysis.CompletionInfo
-
Source code for the first unit of code input.
- Suggestion(String, boolean) - Constructor for class jdk.jshell.SourceCodeAnalysis.Suggestion
-
Create a Suggestion
instance.
- signature() - Method in class jdk.jshell.MethodSnippet
-
The full type signature of the method, including return type.
- 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.
- sourceCodeAnalysis() - Method in class jdk.jshell.JShell
-
Access to source code analysis functionality.
- 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.JShell
-
Attempt to stop currently running evaluation.
- subKind() - Method in class jdk.jshell.Snippet
-
- VarSnippet - Class in jdk.jshell
-
Snippet for a variable definition.
- value() - Method in class jdk.jshell.SnippetEvent
-
The result value of successful run.
- valueOf(String) - Static method in enum jdk.jshell.Snippet.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jdk.jshell.Snippet.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jdk.jshell.Snippet.SubKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jdk.jshell.SourceCodeAnalysis.Completeness
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jdk.jshell.Snippet.Kind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jdk.jshell.Snippet.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jdk.jshell.Snippet.SubKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jdk.jshell.SourceCodeAnalysis.Completeness
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- variables() - Method in class jdk.jshell.JShell
-
Returns the active variable snippets.
- varValue(VarSnippet) - Method in class jdk.jshell.JShell
-
Get the current value of a variable.