- id() - Method in class jdk.jshell.Snippet
-
The unique identifier for the snippet.
- id() - Method in exception jdk.jshell.spi.ExecutionControl.ResolutionException
-
Retrieves the internal identifier of the unresolved identifier.
- id() - Method in exception jdk.jshell.spi.SPIResolutionException
-
Retrieves the internal identifier of the unresolved identifier.
- idGenerator(BiFunction<Snippet, Integer, String>) - Method in class jdk.jshell.JShell.Builder
-
Sets the generator of identifying names for Snippets.
- IMPORT - jdk.jshell.Snippet.Kind
-
An import declaration: import
...
- imports() - Method in class jdk.jshell.JShell
-
Returns the active import snippets.
- ImportSnippet - Class in jdk.jshell
-
Snippet for an import declaration.
- in(InputStream) - Method in class jdk.jshell.JShell.Builder
-
Sets the input for the running evaluation (it's System.in
).
- in(InputStream, InputStream) - Method in interface jdk.jshell.tool.JavaShellToolBuilder
-
Set the input channels.
- installed() - Method in exception jdk.jshell.spi.ExecutionControl.ClassInstallException
-
Indicates which of the passed classes were successfully
loaded/redefined.
- INTERFACE_SUBKIND - jdk.jshell.Snippet.SubKind
-
An interface declaration.
- InternalException(String) - Constructor for exception jdk.jshell.spi.ExecutionControl.InternalException
-
- invoke(Method) - Method in class jdk.jshell.execution.DirectExecutionControl
-
Invoke the specified "doit-method", a static method with no parameters.
- invoke(Method) - Method in class jdk.jshell.execution.LocalExecutionControl
-
- invoke(Method) - Method in class jdk.jshell.execution.RemoteExecutionControl
-
- invoke(String, String) - Method in class jdk.jshell.execution.DirectExecutionControl
-
- invoke(String, String) - Method in class jdk.jshell.execution.JdiDefaultExecutionControl
-
- invoke(String, String) - Method in class jdk.jshell.execution.StreamingExecutionControl
-
- invoke(String, String) - Method in interface jdk.jshell.spi.ExecutionControl
-
Invokes an executable Snippet by calling a method on the specified
wrapper class.
- isActive() - Method in enum jdk.jshell.Snippet.Status
-
- isComplete() - Method in enum jdk.jshell.SourceCodeAnalysis.Completeness
-
Indicates whether the first snippet of source is complete.
- isDefined() - Method in enum jdk.jshell.Snippet.Status
-
Indicates whether the snippet is currently part of the defined state
of the JShell.
- isError() - Method in class jdk.jshell.Diag
-
Indicates whether this diagnostic is an error (as opposed to a warning or
note).
- isExecutable() - Method in enum jdk.jshell.Snippet.SubKind
-
Indicates whether this SubKind
is executable.
- isPersistent() - Method in enum jdk.jshell.Snippet.Kind
-
Indicates whether this Kind
of Snippet is persistent.
- isResolvable() - Method in class jdk.jshell.SourceCodeAnalysis.QualifiedNames
-
Indicates whether the given simple name in the original code refers
to a resolvable element.
- isSignatureChange() - Method in class jdk.jshell.SnippetEvent
-
Indicates whether the signature has changed.
- isStatic() - Method in class jdk.jshell.ImportSnippet
-
Indicates whether this snippet represents a static import.
- isUpToDate() - Method in class jdk.jshell.SourceCodeAnalysis.QualifiedNames
-
Indicates whether the result is based on up-to-date data.