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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MethodSnippet |
Snippet for a method definition.
|
class |
TypeDeclSnippet |
Snippet for a type definition (a class, interface, enum, or annotation
interface definition).
|
class |
VarSnippet |
Snippet for a variable definition.
|
Modifier and Type | Method | Description |
---|---|---|
DeclarationSnippet |
UnresolvedReferenceException.getSnippet() |
Return the Snippet which has the unresolved reference(s).
|
Modifier and Type | Method | Description |
---|---|---|
Stream<String> |
JShell.unresolvedDependencies(DeclarationSnippet snippet) |
For
RECOVERABLE_DEFINED or
RECOVERABLE_NOT_DEFINED
declarations, the names of current unresolved dependencies for
the snippet. |
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1