Class Warning
java.lang.Object
com.ibm.wala.core.util.warnings.Warning
- All Implemented Interfaces:
Comparable<Warning>
- Direct Known Subclasses:
AbstractReflectionInterpreter.IgnoreSerializableWarning
,AbstractReflectionInterpreter.ManySubtypesWarning
,AbstractReflectionInterpreter.NoSubtypesWarning
,ClassHierarchyWarning
,Exceptions.MethodResolutionFailure
A warning message. These are ordered first by severity, and then by lexicographic order.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Constructor Summary
-
Method Summary
-
Field Details
-
MILD
public static final byte MILD- See Also:
-
MODERATE
public static final byte MODERATE- See Also:
-
SEVERE
public static final byte SEVERE- See Also:
-
CLIENT_MILD
public static final byte CLIENT_MILD- See Also:
-
CLIENT_MODERATE
public static final byte CLIENT_MODERATE- See Also:
-
CLIENT_SEVERE
public static final byte CLIENT_SEVERE- See Also:
-
N_LEVELS
public static final byte N_LEVELS- See Also:
-
-
Constructor Details
-
Warning
public Warning(byte level) -
Warning
public Warning()
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Warning>
-
equals
-
hashCode
-
toString
-
severityString
-
getLevel
public byte getLevel() -
getMsg
Must return the same String always -- this is required by the implementation of hashCode. -
setLevel
public void setLevel(byte b)
-