Package com.e1c.g5.v8.dt.bsl.check
Class DocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptor
java.lang.Object
com.e1c.g5.v8.dt.bsl.check.DocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptor
- Enclosing class:
- DocumentationCommentBasicDelegateCheck
public static final class DocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptor
extends Object
Accepts results of the check in form of
Issue's. The result is automatically bound to the context object
of the check and cannot be changed. In case if you need the free navigation and reporting of issues - consider implementing
the ICheck directly instead of BasicCheck
This class is instantiated by the ACC subsystem and is not intended for the direct instantiation.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an issue which starts at the beginning of the context object's related string and have the specified lengthvoidAdds issue at the given line, offset and length within the linevoidaddIssue(String message, org.eclipse.emf.ecore.EObject target, org.eclipse.emf.ecore.EStructuralFeature feature) Adds issue associated with the given target object and feature.voidaddIssue(String message, org.eclipse.emf.ecore.EObject target, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index) Adds issue for element with given index in feature collection and with the given message.
-
Method Details
-
addIssue
public void addIssue(String message, org.eclipse.emf.ecore.EObject target, org.eclipse.emf.ecore.EStructuralFeature feature) Adds issue associated with the given target object and feature.- Parameters:
message- The issue's message, notnulltarget- The target object of the current module, cannot benull.feature- The target object feature, notnull
-
addIssue
public void addIssue(String message, org.eclipse.emf.ecore.EObject target, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index) Adds issue for element with given index in feature collection and with the given message.- Parameters:
message- The issue's message, notnulltarget- the target object of the current module, cannot benull.manyFeature- The target object feature, notnullindex- The index in feature collection. May not be negative
-
addIssue
Adds an issue which starts at the beginning of the context object's related string and have the specified length- Parameters:
message- The issue's message, notnulllength- The length of the issue target region, may not be negative
-
addIssue
Adds issue at the given line, offset and length within the line- Parameters:
message- The issue's message, notnulllineNumber- The line number. May not benulloffset- The offset from the line start. May not benulllength- The length of the issue target region, may not be negative
-