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 and Description |
---|---|
class |
DeclarationSnippet
Grouping for all declaration Snippets: variable declarations
(
VarSnippet ), method declarations
(MethodSnippet ), and type declarations
(TypeDeclSnippet ). |
class |
ImportSnippet
Snippet for an import declaration.
|
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 and Description |
---|---|
List<SnippetEvent> |
JShell.drop(PersistentSnippet snippet)
Remove a declaration from the state.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-08-08-112313.buildd.src