Package com._1c.g5.v8.dt.bsl.validation
Class InnerRangeBasedDiagnostic
java.lang.Object
org.eclipse.xtext.validation.AbstractValidationDiagnostic
org.eclipse.xtext.validation.RangeBasedDiagnostic
com._1c.g5.v8.dt.bsl.validation.InnerRangeBasedDiagnostic
- All Implemented Interfaces:
org.eclipse.emf.common.util.Diagnostic
public class InnerRangeBasedDiagnostic
extends org.eclipse.xtext.validation.RangeBasedDiagnostic
Special wrapper for
RangeBasedDiagnostic
for creating Diagnostic
by model object-
Field Summary
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING
-
Constructor Summary
ConstructorsConstructorDescriptionInnerRangeBasedDiagnostic
(int severity, String message, org.eclipse.emf.ecore.EObject source, int offset, int length, org.eclipse.xtext.validation.CheckType checkType, String issueCode, String[] issueData) Constructor -
Method Summary
Methods inherited from class org.eclipse.xtext.validation.RangeBasedDiagnostic
getData, getLength, getOffset, getSource, toString
Methods inherited from class org.eclipse.xtext.validation.AbstractValidationDiagnostic
getCheckType, getChildren, getCode, getException, getIssueCode, getIssueData, getMessage, getSeverity, getSourceEObject, severityToStr
-
Constructor Details
-
InnerRangeBasedDiagnostic
public InnerRangeBasedDiagnostic(int severity, String message, org.eclipse.emf.ecore.EObject source, int offset, int length, org.eclipse.xtext.validation.CheckType checkType, String issueCode, String[] issueData) Constructor- Parameters:
severity
- type of creating diagnostic, can't benull
message
- message of creating diagnostic, can't benull
object
- annotated model object by creating diagnostic, can't benull
offset
- the starting offset of creating diagnostic in annotating resourcelength
- the length of creating diagnostic in annotating resourcecheckType
- actual validation type, can't benull
issueCode
- error code corresponding to creating diagnostic. This code can be used for creating quick fixes, can benull
issueData
- additional data attaching to diagnostic, can't benull
-