public interface IlrBRLMarkerDescriptor extends IlrBRLMarkerConstants
KIND_LEXICAL, KIND_SEMANTIC, KIND_SYNTACTIC, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_SEMANTIC, SEVERITY_WARNING| Modifier and Type | Method and Description |
|---|---|
IlrBRLMarkerFixProposal[] |
computeFixProposals(IlrBRLMarker marker,
java.lang.Object[] args)
Returns the possible proposals according to the marker, if the marker can be fixed.
|
java.lang.String |
getId()
Returns the unique identifier of the marker.
|
int |
getKind()
Returns the kind of marker.
|
java.lang.String |
getMessage(java.lang.Object[] args)
Returns the formatted message that describes the marker.
|
int |
getSeverity()
Returns the severity of the marker.
|
boolean |
isFixable()
Returns
true if the marker can be fixed automatically. |
java.lang.String getId()
int getKind()
IlrBRLMarkerConstantsint getSeverity()
IlrBRLMarkerConstantsjava.lang.String getMessage(java.lang.Object[] args)
args - The arguments that help to format the message.boolean isFixable()
true if the marker can be fixed automatically.true if the marker can be fixed automatically.IlrBRLMarkerFixProposal[] computeFixProposals(IlrBRLMarker marker, java.lang.Object[] args)
java.lang.UnsupportedOperationException - if the marker cannot be fixed.marker - The marker that represents the problem to be fixed.args - The arguments to compute the proposals.isFixable()© Copyright IBM Corp. 1987, 2017