Class RegexCheck.RegexIssueLocation
java.lang.Object
org.sonar.java.regex.RegexCheck.RegexIssueLocation
- Enclosing interface:
RegexCheck
Issue location holder, replacing regex syntax elements into text spans for reporting
-
Constructor Summary
ConstructorsConstructorDescriptionRegexIssueLocation
(List<org.sonarsource.analyzer.commons.regex.ast.RegexSyntaxElement> trees, String message) RegexIssueLocation
(org.sonarsource.analyzer.commons.regex.ast.RegexSyntaxElement tree, String message) -
Method Summary
Modifier and TypeMethodDescriptionfromCommonsRegexIssueLocation
(org.sonarsource.analyzer.commons.regex.RegexIssueLocation location) message()
-
Constructor Details
-
RegexIssueLocation
public RegexIssueLocation(org.sonarsource.analyzer.commons.regex.ast.RegexSyntaxElement tree, String message) -
RegexIssueLocation
-
-
Method Details
-
fromCommonsRegexIssueLocation
public static RegexCheck.RegexIssueLocation fromCommonsRegexIssueLocation(org.sonarsource.analyzer.commons.regex.RegexIssueLocation location) -
locations
-
message
-
toSingleLocationItems
-