public final class ErrorDescription extends Object
ErrorDescriptionFactory
if you want to create instances of this class.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCustomType()
The custom type is an annotation type provided for particular error
|
String |
getDescription() |
CharSequence |
getDetails() |
FileObject |
getFile() |
LazyFixList |
getFixes()
The list of fixes that will be associated with the error.
|
String |
getId() |
PositionBounds |
getRange() |
ArrayList<PositionBounds> |
getRangeTail()
Return range tail: to support multiple ranges for error/warning
|
Severity |
getSeverity()
The severity determines how the hint will be rendered.
|
int |
hashCode() |
String |
toString() |
@CheckForNull public String getId()
ErrorDescription
,
or null if none was specifiedpublic String getDescription()
@CheckForNull public CharSequence getDetails()
ErrorDescription
,
or null if none was specifiedpublic Severity getSeverity()
Severity
of the errorpublic String getCustomType()
public LazyFixList getFixes()
LazyFixList
containing the fixespublic PositionBounds getRange()
null
if no place to markpublic ArrayList<PositionBounds> getRangeTail()
public FileObject getFile()
null
if there is none