org.codenarc.rule.braces
Class IfStatementBracesRule
java.lang.Object
org.codenarc.rule.AbstractRule
org.codenarc.rule.AbstractAstVisitorRule
org.codenarc.rule.braces.IfStatementBracesRule
class IfStatementBracesRule
extends AbstractAstVisitorRule
Rule that checks that if statements use braces rather than a single statement.
- author:
- Chris Mair
- version:
- $Revision: 139 $ - $Date: 2009-05-07 21:55:09 -0400 (Thu, 07 May 2009) $
Methods inherited from class AbstractRule
|
applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getImportsSortedByLineNumber, getName, getPriority, packageNameForImport, setName, setPriority, sourceLineAndNumberForImport, sourceLineAndNumberForImport |
astVisitorClass
Class astVisitorClass
-
name
String name
-
priority
int priority
-
IfStatementBracesRule
IfStatementBracesRule()
-
Groovy Documentation