Package com._1c.g5.v8.dt.bsl.validation
Class CustomValidationMessageAcceptor.InnerRangeBasedDiagnostic
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractValidationDiagnostic
-
- org.eclipse.xtext.validation.RangeBasedDiagnostic
-
- com._1c.g5.v8.dt.bsl.validation.CustomValidationMessageAcceptor.InnerRangeBasedDiagnostic
-
- All Implemented Interfaces:
org.eclipse.emf.common.util.Diagnostic
- Enclosing class:
- CustomValidationMessageAcceptor
protected static class CustomValidationMessageAcceptor.InnerRangeBasedDiagnostic extends org.eclipse.xtext.validation.RangeBasedDiagnostic
Special wrapper forRangeBasedDiagnostic
for creatingDiagnostic
by model object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
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
-
Method Summary
-
Methods inherited from class org.eclipse.xtext.validation.RangeBasedDiagnostic
getData, getLength, getOffset, getSource, toString
-
-
-
-
Constructor Detail
-
InnerRangeBasedDiagnostic
protected 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
-
-