public enum DocumentHighlightKind extends java.lang.Enum<DocumentHighlightKind>
Enum Constant and Description |
---|
Read
Read-access of a symbol, like reading a variable.
|
Text
A textual occurrence.
|
Write
Write-access of a symbol, like writing to a variable.
|
Modifier and Type | Method and Description |
---|---|
static DocumentHighlightKind |
forValue(int value) |
int |
getValue() |
static DocumentHighlightKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentHighlightKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentHighlightKind Text
public static final DocumentHighlightKind Read
public static final DocumentHighlightKind Write
public static DocumentHighlightKind[] values()
for (DocumentHighlightKind c : DocumentHighlightKind.values()) System.out.println(c);
public static DocumentHighlightKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static DocumentHighlightKind forValue(int value)