Uses of Enum Class
jdk.jshell.SourceCodeAnalysis.Attribute
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 SourceCodeAnalysis.Attribute in jdk.jshell
Modifier and TypeClassDescriptionstatic enum
A span attribute which can be used to derive a coloring.Modifier and TypeMethodDescriptionstatic SourceCodeAnalysis.Attribute
Returns the enum constant of this class with the specified name.static SourceCodeAnalysis.Attribute[]
SourceCodeAnalysis.Attribute.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionSourceCodeAnalysis.Highlight.attributes()
Returns the value of theattributes
record component.ModifierConstructorDescriptionHighlight
(int start, int end, Set<SourceCodeAnalysis.Attribute> attributes) Creates an instance of aHighlight
record class.