A C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String, Double) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- add(PreciseLocation) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PerLineLocationWriter
- addActualIssue(int, String, PrimaryLocation) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.FileIssues
- addActualIssue(int, String, PrimaryLocation, Double) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.FileIssues
- addComment(int, int, String, int, int) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- addComment(int, int, String, int, int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier
-
Should be called for all comment of the analyzed source file.
- addComment(Path, int, int, String, int, int) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- addComment(Path, int, int, String, int, int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier
-
Should be called for all comment of the analyzed source file.
- addSecondary(int, int, int, int, String) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier.Issue
-
Add a secondary location with an optional message
- addSecondary(Path, int, int, int, int, String) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier.Issue
-
Add a secondary location with an optional message
- addSecondary(UnderlinedRange, String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
- addSingleLineCommentSyntax(String) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.CommentParser
-
This comment parser is able split a line using "commentPrefix".
- addSingleLineCommentSyntax(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalCommentParser
- append(Report) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- appendActual(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- appendContext(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- appendExpected(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- assertGoodPractice(Class<?>) - Static method in class org.sonarsource.analyzer.commons.checks.coverage.UtilityClass
- assertNoIssues() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- assertNoIssues() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier
-
Run the comparison and expect to find no issue.
- assertNoIssues() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier
-
Run the comparison and expect to find no issue.
- assertOneOrMoreIssues() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- assertOneOrMoreIssues() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier
-
Run the comparison and expect to find at least one issue.
- assertOneOrMoreIssues() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier
-
Run the comparison and expect to find at least one issue.
- at(TestFile, int, PrimaryLocation) - Static method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
C
- column - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- column - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
-
start at 1, column number of the first character of the token
- Comment - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- Comment(Path, int, int, int, String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- COMMENT_PREFIX - Static variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- Comment.Parser - Interface in org.sonarsource.analyzer.commons.checks.verifier.internal
- CommentParser - Interface in org.sonarsource.analyzer.commons.checks.verifier
- commentPrefix - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.SingleLineCommentParser
- compareTo(UnderlinedRange) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
- content - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- contentColumn - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- create() - Static method in interface org.sonarsource.analyzer.commons.checks.verifier.CommentParser
- create(Path, Charset) - Static method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier
- create(Path, Charset) - Static method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier
D
- diff(String, String) - Static method in class org.sonarsource.analyzer.commons.checks.verifier.internal.ReportDiff
- dropUntestedAttributes(LineIssues) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
E
- effortToFix() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- endColumn - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
-
start at 1, column number of the last character of the token if the token has only one character, endColumn == column
- endLine - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
-
start at 1, line number of the last character of the token if the token is on a single line, endLine == line
- equals(Object) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
- expectedAdditionalCount - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
- extractEffectiveLine(int, Matcher) - Static method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocationParser
F
- File(Path) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.File
- FILE - org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Type
- FileContent - Class in org.sonarsource.analyzer.commons.checks.verifier
- FileContent(Path) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- FileContent(Path, String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- FileContent(Path, Charset) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- FileIssues - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- FileIssues(TestFile, List<Comment>) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.FileIssues
- flowIndex - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.FlowLocation
- FlowLocation - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- FlowLocation(UnderlinedRange, boolean, int, int, String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.FlowLocation
- flowLocations - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
G
- getActual() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- getActualIssueCount() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- getColumn() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Range
- getContent() - Method in class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- getContext() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- getEndColumn() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Range
- getEndLine() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Range
- getExpected() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- getExpectedIssueCount() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- getFile() - Method in class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- getLine() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Line
- getLines() - Method in class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- getName() - Method in class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- getPath() - Method in class org.sonarsource.analyzer.commons.checks.verifier.FileContent
- getSourcePath() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.File
- getSourcePath() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation
- getType() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.File
- getType() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation
- getType() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Line
- getType() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Range
H
- hashCode() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
I
- index - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.SecondaryLocation
- indexInTheFlow - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.FlowLocation
- InternalCommentParser - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- InternalCommentParser() - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalCommentParser
- InternalIssueVerifier - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- InternalIssueVerifier(Path, Charset) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- IssueLocation - Interface in org.sonarsource.analyzer.commons.checks.verifier.internal
- IssueLocation.File - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- IssueLocation.Line - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- IssueLocation.Range - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- IssueLocation.Type - Enum in org.sonarsource.analyzer.commons.checks.verifier.internal
L
- line - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- line - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- line - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
-
start at 1, line number of the first character of the token
- Line(Path, int) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Line
- LINE - org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Type
- LINE_ADJUSTMENT - Static variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocationParser
- LineIssues - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- LineIssues(TestFile, int, String[], Map<String, String>, PrimaryLocation) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
M
- message - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.SecondaryLocation
- messages - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- MultiFileVerifier - Interface in org.sonarsource.analyzer.commons.checks.verifier
-
Example:
- MultiFileVerifier.Issue - Interface in org.sonarsource.analyzer.commons.checks.verifier
- MultiFileVerifier.IssueBuilder - Interface in org.sonarsource.analyzer.commons.checks.verifier
-
Must always call one and only one of: onFile, onLine, onRange
N
O
- onFile() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier.IssueBuilder
-
issue is global to the source code file (not at a specific line number)
- onFile() - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier.IssueBuilder
-
issue is global to the source code file (not at a specific line number)
- onLine(int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier.IssueBuilder
-
issue is related to a specific line number
- onLine(int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier.IssueBuilder
-
issue is related to a specific line number
- onRange(int, int, int, int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier.IssueBuilder
-
issue is at a precise issue location
- onRange(int, int, int, int) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier.IssueBuilder
-
issue is at a precise issue location
- org.sonarsource.analyzer.commons.checks.coverage - package org.sonarsource.analyzer.commons.checks.coverage
- org.sonarsource.analyzer.commons.checks.verifier - package org.sonarsource.analyzer.commons.checks.verifier
- org.sonarsource.analyzer.commons.checks.verifier.internal - package org.sonarsource.analyzer.commons.checks.verifier.internal
P
- params - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- parse(int, int, String) - Static method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocationParser
- parse(FileContent) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.internal.Comment.Parser
- parse(FileContent) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.SingleLineCommentParser
- parse(TestFile, int, String) - Static method in class org.sonarsource.analyzer.commons.checks.verifier.internal.NoncompliantCommentParser
- parseInto(Path, MultiFileVerifier) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.CommentParser
- parseInto(Path, MultiFileVerifier) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalCommentParser
- parseInto(Path, SingleFileVerifier) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.CommentParser
- parseInto(Path, SingleFileVerifier) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalCommentParser
- path - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- PerLineLocationWriter - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- PerLineLocationWriter(String, String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.PerLineLocationWriter
- PreciseLocation - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- PreciseLocation(UnderlinedRange) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocation
- PreciseLocationParser - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- prependActual(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- prependContext(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- prependExpected(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- primaryIsBefore - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.SecondaryLocation
- primaryLocation - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- PrimaryLocation - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- PrimaryLocation(UnderlinedRange, Integer) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
R
- range - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocation
- Range(Path, int, int, int, int) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Range
- RANGE - org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Type
- report() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.FileIssues
- Report - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- Report() - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- ReportDiff - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- ReportDiff() - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.ReportDiff
- reportIssue(String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- reportIssue(String) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier
-
Each issue raised by a rule should be reported using this method.
- reportIssue(Path, String) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.InternalIssueVerifier
- reportIssue(Path, String) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier
-
Each issue raised by a rule should be reported using this method.
S
- secondaryAndFlowLocationCount() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
- SecondaryLocation - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- SecondaryLocation(UnderlinedRange, boolean, Integer, String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.SecondaryLocation
- secondaryLocations - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
- setActualIssueCount(int) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- setExpectedIssueCount(int) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Report
- SingleFileVerifier - Interface in org.sonarsource.analyzer.commons.checks.verifier
-
Example:
- SingleFileVerifier.Issue - Interface in org.sonarsource.analyzer.commons.checks.verifier
- SingleFileVerifier.IssueBuilder - Interface in org.sonarsource.analyzer.commons.checks.verifier
-
Must always call one and only one of: onFile, onLine, onRange
- SingleLineCommentParser - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
- SingleLineCommentParser(String) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.SingleLineCommentParser
T
- testFile - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.FileIssues
- testFile - Variable in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- toString() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.Comment
- toString() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- toString() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
U
- underline(int, StringBuilder) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
- UnderlinedRange - Class in org.sonarsource.analyzer.commons.checks.verifier.internal
-
Used to specify the location of an issue in source code.
- UnderlinedRange(int, int, int, int) - Constructor for class org.sonarsource.analyzer.commons.checks.verifier.internal.UnderlinedRange
- UtilityClass - Class in org.sonarsource.analyzer.commons.checks.coverage
V
- validateExpected() - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.LineIssues
- valueOf(String) - Static method in enum org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withGap(Double) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.MultiFileVerifier.Issue
- withGap(Double) - Method in interface org.sonarsource.analyzer.commons.checks.verifier.SingleFileVerifier.Issue
- write(int, StringBuilder, boolean) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.FlowLocation
- write(int, StringBuilder, boolean) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PreciseLocation
- write(int, StringBuilder, boolean) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PrimaryLocation
- write(int, StringBuilder, boolean) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.SecondaryLocation
- write(StringBuilder, UnderlinedRange) - Method in class org.sonarsource.analyzer.commons.checks.verifier.internal.PerLineLocationWriter
All Classes All Packages