public class FileIssues extends Object
| Modifier and Type | Field and Description |
|---|---|
com.sonarsource.checks.verifier.internal.TestFile |
testFile |
| Constructor and Description |
|---|
FileIssues(com.sonarsource.checks.verifier.internal.TestFile testFile,
List<Comment> comments) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActualIssue(int line,
String message,
PrimaryLocation preciseLocation) |
void |
addActualIssue(int line,
String message,
PrimaryLocation preciseLocation,
Double effortToFix) |
Report |
report() |
public void addActualIssue(int line,
String message,
@Nullable
PrimaryLocation preciseLocation)
line - of the issue, start at 1, same as TokenLocation#startLine()public void addActualIssue(int line,
String message,
@Nullable
PrimaryLocation preciseLocation,
@Nullable
Double effortToFix)
line - of the issue, start at 1, same as TokenLocation#startLine()public Report report()
Copyright © 2009–2018 SonarSource. All rights reserved.