public static enum RuleMatch.Type extends Enum<RuleMatch.Type>
Category
, this is specific to a RuleMatch, not to a rule.
It is mainly used for selecting the underline color in clients.
Note: this is experimental and might change soon (types might be added, deleted or renamed
without deprecating them first)Enum Constant and Description |
---|
Hint
Style errors, typically light blue.
|
Other
Other errors (including grammar), typically yellow/orange.
|
UnknownWord
Spelling errors, typically red.
|
Modifier and Type | Method and Description |
---|---|
static RuleMatch.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleMatch.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleMatch.Type UnknownWord
public static final RuleMatch.Type Hint
public static final RuleMatch.Type Other
public static RuleMatch.Type[] values()
for (RuleMatch.Type c : RuleMatch.Type.values()) System.out.println(c);
public static RuleMatch.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null