public enum ProblemHighlightType extends java.lang.Enum<ProblemHighlightType>
Enum Constant and Description |
---|
ERROR
The same as
LIKE_UNKNOWN_SYMBOL with enforced HighlightDisplayLevel.ERROR severity level. |
GENERIC_ERROR
The same as
GENERIC_ERROR_OR_WARNING with enforced HighlightDisplayLevel.ERROR severity level. |
GENERIC_ERROR_OR_WARNING
Underlying highlighting with color depending on the inspection
HighlightDisplayLevel . |
INFO
Deprecated.
use
WEAK_WARNING instead |
INFORMATION
Enforces
HighlightDisplayLevel.DO_NOT_SHOW severity level. |
LIKE_DEPRECATED |
LIKE_MARKED_FOR_REMOVAL
JEP 277 enhanced deprecation.
|
LIKE_UNKNOWN_SYMBOL
Changes font color depending on the inspection
HighlightDisplayLevel . |
LIKE_UNUSED_SYMBOL |
WARNING
Enforces
HighlightDisplayLevel.WARNING severity level. |
WEAK_WARNING
Enforces
HighlightDisplayLevel.WEAK_WARNING severity level. |
Modifier and Type | Method and Description |
---|---|
static ProblemHighlightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProblemHighlightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProblemHighlightType GENERIC_ERROR_OR_WARNING
HighlightDisplayLevel
.public static final ProblemHighlightType LIKE_UNKNOWN_SYMBOL
HighlightDisplayLevel
.public static final ProblemHighlightType LIKE_DEPRECATED
public static final ProblemHighlightType LIKE_UNUSED_SYMBOL
public static final ProblemHighlightType ERROR
LIKE_UNKNOWN_SYMBOL
with enforced HighlightDisplayLevel.ERROR
severity level.public static final ProblemHighlightType WARNING
HighlightDisplayLevel.WARNING
severity level.public static final ProblemHighlightType GENERIC_ERROR
GENERIC_ERROR_OR_WARNING
with enforced HighlightDisplayLevel.ERROR
severity level.@Deprecated public static final ProblemHighlightType INFO
WEAK_WARNING
insteadHighlightDisplayLevel.INFO
severity level.public static final ProblemHighlightType WEAK_WARNING
HighlightDisplayLevel.WEAK_WARNING
severity level.public static final ProblemHighlightType INFORMATION
HighlightDisplayLevel.DO_NOT_SHOW
severity level.
Please ensure that if used from inspection explicitly, corresponding problem is added in onTheFly
mode only.public static final ProblemHighlightType LIKE_MARKED_FOR_REMOVAL
public static ProblemHighlightType[] values()
for (ProblemHighlightType c : ProblemHighlightType.values()) System.out.println(c);
public static ProblemHighlightType 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 null