public static enum Hint.Kind extends Enum<Hint.Kind>
hint
, e.g. it
detects a code smell, or otherwise leads to improving the code, or a Hint.Kind.ACTION
,
which is simply an offer to do automatically do something for the user.Enum Constant and Description |
---|
ACTION
The hint represents an offer to the user to automatically alter the code.
|
INSPECTION
The hint represents a code-smell detector, or alike.
|
Modifier and Type | Method and Description |
---|---|
static Hint.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hint.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hint.Kind INSPECTION
public static final Hint.Kind ACTION
Severity#CURRENT_LINE_WARNING
.public static Hint.Kind[] values()
public static Hint.Kind 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