Uses of Class
jdk.jshell.DeclarationSnippet
| 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.
|
-
Uses of DeclarationSnippet in jdk.jshell
Subclasses of DeclarationSnippet in jdk.jshell Modifier and Type Class Description classMethodSnippetSnippet for a method definition.classTypeDeclSnippetSnippet for a type definition (a class, interface, enum, or annotation interface definition).classVarSnippetSnippet for a variable definition.Methods in jdk.jshell that return DeclarationSnippet Modifier and Type Method Description DeclarationSnippetUnresolvedReferenceException. getSnippet()Return the Snippet which has the unresolved reference(s).Methods in jdk.jshell with parameters of type DeclarationSnippet Modifier and Type Method Description Stream<String>JShell. unresolvedDependencies(DeclarationSnippet snippet)ForRECOVERABLE_DEFINEDorRECOVERABLE_NOT_DEFINEDdeclarations, the names of current unresolved dependencies for the snippet.