A matcher for rule violations in files. Rule violations are described by the name of the violated rule, the name of the file where the violation was found, and the line number in the file where the violation was found (or, in case of a multi-line violation, where the violation starts).
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
matches(java.lang.String pRuleName, java.lang.String pFileName, int pLineNumber)Check if this matcher matches a rule violation described as a tuple of rule name - file name - line number. |
Check if this matcher matches a rule violation described as a tuple of rule name - file name - line number.
pRuleName - The rule name to check for a match.pFileName - The file name to check for a match.pLineNumber - The line number to check for a match.