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 ofIssue
'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 theICheck
directly instead ofBasicCheck
This class is instantiated by the ACC subsystem and is not intended for the direct instantiation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIssue(String message, int length)
Adds an issue which starts at the beginning of the context object's related string and have the specified lengthvoid
addIssue(String message, int lineNumber, int offset, int length)
Adds issue at the given line, offset and length within the linevoid
addIssue(String message, org.eclipse.emf.ecore.EObject target, org.eclipse.emf.ecore.EStructuralFeature feature)
Adds issue associated with the given target object and featurevoid
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.
-
-
-
Method Detail
-
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, notnull
target
- The target object, notnull
feature
- The target object feacture, 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, notnull
manyFeature
- The target object feature, notnull
index
- The index in feature collection. May not be negative
-
addIssue
public void addIssue(String message, int length)
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, notnull
length
- The length of the issue target region, may not be negative
-
addIssue
public void addIssue(String message, int lineNumber, int offset, int length)
Adds issue at the given line, offset and length within the line- Parameters:
message
- The issue's message, notnull
lineNumber
- The line number. May not benull
offset
- The offset from the line start. May not benull
length
- The length of the issue target region, may not be negative
-
-