Package org.sonar.plugins.python.api
Class PythonCheck.PreciseIssue
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonCheck.PreciseIssue
-
- Enclosing interface:
- PythonCheck
public static class PythonCheck.PreciseIssue extends Object
-
-
Constructor Summary
Constructors Constructor Description PreciseIssue(PythonCheck check, IssueLocation primaryLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PythonCheckcheck()Integercost()IssueLocationprimaryLocation()PythonCheck.PreciseIssuesecondary(IssueLocation issueLocation)PythonCheck.PreciseIssuesecondary(Token token, String message)PythonCheck.PreciseIssuesecondary(Tree tree, String message)List<IssueLocation>secondaryLocations()PythonCheck.PreciseIssuewithCost(int cost)
-
-
-
Constructor Detail
-
PreciseIssue
public PreciseIssue(PythonCheck check, IssueLocation primaryLocation)
-
-
Method Detail
-
withCost
public PythonCheck.PreciseIssue withCost(int cost)
-
primaryLocation
public IssueLocation primaryLocation()
-
secondary
public PythonCheck.PreciseIssue secondary(Tree tree, @Nullable String message)
-
secondary
public PythonCheck.PreciseIssue secondary(Token token, @Nullable String message)
-
secondary
public PythonCheck.PreciseIssue secondary(IssueLocation issueLocation)
-
secondaryLocations
public List<IssueLocation> secondaryLocations()
-
check
public PythonCheck check()
-
-