|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Violation | |
|---|---|
| org.codenarc.analyzer | |
| org.codenarc.report | |
| org.codenarc.rule | |
| org.codenarc.rule.basic | |
| org.codenarc.rule.design | |
| org.codenarc.rule.naming | |
| org.codenarc.rule.unused | |
| Uses of Violation in org.codenarc.analyzer |
|---|
| Methods in org.codenarc.analyzer that return types with arguments of type Violation | |
|---|---|
protected List<Violation> |
BaseSourceAnalyzer.collectViolations(SourceCode sourceCode,
RuleSet ruleSet)
|
List<Violation> |
SuppressionAnalyzer.filterSuppressedViolations(Iterable<Violation> violations)
|
| Methods in org.codenarc.analyzer with parameters of type Violation | |
|---|---|
boolean |
SuppressionAnalyzer.isViolationSuppressed(Violation violation)
|
| Method parameters in org.codenarc.analyzer with type arguments of type Violation | |
|---|---|
List<Violation> |
SuppressionAnalyzer.filterSuppressedViolations(Iterable<Violation> violations)
|
| Uses of Violation in org.codenarc.report |
|---|
| Methods in org.codenarc.report with parameters of type Violation | |
|---|---|
protected Object |
XmlReportWriter.buildMessageElement(Violation violation)
|
protected Object |
XmlReportWriter.buildSourceLineElement(Violation violation)
|
protected Object |
XmlReportWriter.buildViolationElement(Violation violation)
|
protected Object |
InlineXmlReportWriter.buildViolationElement(Violation violation)
|
| Uses of Violation in org.codenarc.rule |
|---|
| Methods in org.codenarc.rule that return Violation | |
|---|---|
protected Violation |
AbstractRule.createViolation(Integer lineNumber)
Deprecated. |
protected Violation |
AbstractRule.createViolation(Integer lineNumber,
String message)
Deprecated. |
protected Violation |
AbstractRule.createViolation(Integer lineNumber,
String sourceLine,
String message)
Create and return a new Violation for this rule and the specified values |
protected Violation |
AbstractRule.createViolation(SourceCode sourceCode,
org.codehaus.groovy.ast.ASTNode node)
Deprecated. |
protected Violation |
AbstractRule.createViolation(SourceCode sourceCode,
org.codehaus.groovy.ast.ASTNode node,
String message)
Create a new Violation for the AST node. |
protected Violation |
AbstractRule.createViolationForImport(SourceCode sourceCode,
org.codehaus.groovy.ast.ImportNode importNode)
Deprecated. |
protected Violation |
AbstractRule.createViolationForImport(SourceCode sourceCode,
org.codehaus.groovy.ast.ImportNode importNode,
String message)
Create and return a new Violation for this rule and the specified import |
protected Violation |
AbstractRule.createViolationForImport(SourceCode sourceCode,
String className,
String alias,
String violationMessage)
Create and return a new Violation for this rule and the specified import className and alias |
| Methods in org.codenarc.rule that return types with arguments of type Violation | |
|---|---|
List<Violation> |
Rule.applyTo(SourceCode sourceCode)
Apply this rule to the specified source and return a list of violations (or an empty List) |
List<Violation> |
AbstractRule.applyTo(SourceCode sourceCode)
Apply this rule to the specified source and return a list of violations (or an empty List). |
List<Violation> |
AstVisitor.getViolations()
|
List<Violation> |
AbstractMethodVisitor.getViolations()
Retrieve the List of Violations resulting from applying this visitor |
List<Violation> |
AbstractMethodCallExpressionVisitor.getViolations()
Retrieve the List of Violations resulting from applying this visitor |
List<Violation> |
AbstractFieldVisitor.getViolations()
Retrieve the List of Violations resulting from applying this visitor |
List<Violation> |
AbstractAstVisitor.getViolations()
|
protected abstract List<Violation> |
AbstractSharedAstVisitorRule.getViolations(AstVisitor astVisitor,
SourceCode sourceCode)
|
| Methods in org.codenarc.rule with parameters of type Violation | |
|---|---|
protected void |
AbstractAstVisitor.addViolation(Violation violation)
Add a new Violation to the list of violations found by this visitor. |
protected void |
AbstractRuleTestCase.assertViolation(Violation violation,
Integer lineNumber,
String sourceLineText)
|
protected void |
AbstractRuleTestCase.assertViolation(Violation violation,
Integer lineNumber,
String sourceLineText,
Object messageText)
|
| Method parameters in org.codenarc.rule with type arguments of type Violation | |
|---|---|
abstract void |
AbstractRule.applyTo(SourceCode sourceCode,
List<Violation> violations)
Apply this rule to the specified source and return a list of violations (or an empty List) |
void |
AbstractAstVisitorRule.applyTo(SourceCode sourceCode,
List<Violation> violations)
|
| Uses of Violation in org.codenarc.rule.basic |
|---|
| Method parameters in org.codenarc.rule.basic with type arguments of type Violation | |
|---|---|
void |
EmptyClassRule.applyTo(SourceCode sourceCode,
List<Violation> violations)
|
| Uses of Violation in org.codenarc.rule.design |
|---|
| Methods in org.codenarc.rule.design that return types with arguments of type Violation | |
|---|---|
protected List<Violation> |
PrivateFieldCouldBeFinalRule.getViolations(AstVisitor visitor,
SourceCode sourceCode)
|
| Uses of Violation in org.codenarc.rule.naming |
|---|
| Method parameters in org.codenarc.rule.naming with type arguments of type Violation | |
|---|---|
void |
ClassNameSameAsFilenameRule.applyTo(SourceCode sourceCode,
List<Violation> violations)
|
| Uses of Violation in org.codenarc.rule.unused |
|---|
| Methods in org.codenarc.rule.unused that return types with arguments of type Violation | |
|---|---|
protected List<Violation> |
UnusedPrivateMethodRule.getViolations(AstVisitor visitor,
SourceCode sourceCode)
|
protected List<Violation> |
UnusedPrivateFieldRule.getViolations(AstVisitor visitor,
SourceCode sourceCode)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||