|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.lang.annotation.HighlightSeverity
public class HighlightSeverity
Defines a highlighting severity level for an annotation.
Annotation| Field Summary | |
|---|---|
static HighlightSeverity |
ERROR
The standard severity level for error annotations. |
static HighlightSeverity |
INFORMATION
The standard severity level for information annotations. |
static HighlightSeverity |
WARNING
The standard severity level for warning annotations. |
| Constructor Summary | |
|---|---|
HighlightSeverity(java.lang.String name,
int val)
Creates a new highlighting severity level with the specified name and value. |
|
| Method Summary | |
|---|---|
int |
compareTo(HighlightSeverity highlightSeverity)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final HighlightSeverity INFORMATION
public static final HighlightSeverity WARNING
public static final HighlightSeverity ERROR
| Constructor Detail |
|---|
public HighlightSeverity(@NonNls
java.lang.String name,
int val)
name - the name of the highlighting level.val - the value of the highlighting level. Used for comparing the annotations -
if two annotations with different severity levels cover the same text range, only
the annotation with a higher severity level is displayed.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(HighlightSeverity highlightSeverity)
compareTo in interface java.lang.Comparable<HighlightSeverity>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||