public interface CheckContext
This interface should be used by checks to get access to the analyzed RPG source code and to create issues.
@Deprecated File file()
ModuleTree module()
void addIssue(org.sonar.api.rule.RuleKey ruleKey, int lineNumber, String message, @Nullable Double effortToFix)
Create a line-level issue.
ruleKey
- key of the rule which detects an issue
lineNumber
- line number on which an issue is detected
message
- issue message
effortToFix
- the factor which should be combined to the linear coefficient when using a "linear" or "linear with offset" remediation function
void addIssue(org.sonar.api.rule.RuleKey ruleKey, String message, @Nullable Double effortToFix)
Create a file-level issue.
ruleKey
- key of the rule which detects an issue
message
- issue message
effortToFix
- the factor which should be combined to the linear coefficient when using a "linear" or "linear with offset" remediation function
String contents()
String filename()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4