| Method and Description | 
|---|
| org.codenarc.rule.AbstractAstVisitor.addViolation(ASTNode) Always define a message. Use the other addViolation method instead of this one. | 
| org.codenarc.rule.AbstractRule.createViolation(Integer) | 
| org.codenarc.rule.AbstractRule.createViolation(Integer, String) | 
| org.codenarc.rule.AbstractRule.createViolation(SourceCode, ASTNode) | 
| org.codenarc.rule.AbstractRule.createViolationForImport(SourceCode, ImportNode) |