Uses of Class
jdk.jshell.DeclarationSnippet
Packages that use DeclarationSnippet
Package
Description
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.jshellModifier and TypeClassDescriptionclass
Snippet for a method definition.class
Snippet for a type definition (a class, interface, enum, or annotation interface definition).class
Snippet for a variable definition.Methods in jdk.jshell that return DeclarationSnippetModifier and TypeMethodDescriptionUnresolvedReferenceException.getSnippet()
Return the Snippet which has the unresolved reference(s).Methods in jdk.jshell with parameters of type DeclarationSnippetModifier and TypeMethodDescriptionJShell.unresolvedDependencies
(DeclarationSnippet snippet) ForRECOVERABLE_DEFINED
orRECOVERABLE_NOT_DEFINED
declarations, the names of current unresolved dependencies for the snippet.