Package org.sonar.java.regex
Class RegexCheck.RegexIssueLocation
- java.lang.Object
-
- org.sonar.java.regex.RegexCheck.RegexIssueLocation
-
- Enclosing interface:
- RegexCheck
public static class RegexCheck.RegexIssueLocation extends Object
Issue location holder, replacing regex syntax elements into text spans for reporting
-
-
Constructor Summary
Constructors Constructor Description RegexIssueLocation(List<RegexSyntaxElement> trees, String message)
RegexIssueLocation(RegexSyntaxElement tree, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnalyzerMessage.TextSpan>
locations()
String
message()
List<RegexCheck.RegexIssueLocation>
toSingleLocationItems()
-
-
-
Constructor Detail
-
RegexIssueLocation
public RegexIssueLocation(RegexSyntaxElement tree, String message)
-
RegexIssueLocation
public RegexIssueLocation(List<RegexSyntaxElement> trees, String message)
-
-
Method Detail
-
locations
public List<AnalyzerMessage.TextSpan> locations()
-
message
public String message()
-
toSingleLocationItems
public List<RegexCheck.RegexIssueLocation> toSingleLocationItems()
-
-