Groovy Documentation

org.codenarc.rule.basic
Class EmptySwitchStatementRule

java.lang.Object
  org.codenarc.rule.AbstractRule
      org.codenarc.rule.AbstractAstVisitorRule
          org.codenarc.rule.basic.EmptySwitchStatementRule

class EmptySwitchStatementRule
extends AbstractAstVisitorRule

Rule that checks for empty switch statements

author:
Chris Mair
version:
$Revision: 255 $ - $Date: 2009-12-23 21:46:34 -0500 (Wed, 23 Dec 2009) $


Property Summary
Class astVisitorClass

String name

int priority

 
Constructor Summary
EmptySwitchStatementRule()

 
Method Summary
 
Methods inherited from class AbstractAstVisitorRule
shouldApplyThisRuleTo
 
Methods inherited from class AbstractRule
applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getImportsSortedByLineNumber, getName, getPriority, packageNameForImport, setName, setPriority, sourceLineAndNumberForImport, sourceLineAndNumberForImport
 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 
Constructor Detail

EmptySwitchStatementRule

EmptySwitchStatementRule()


 

Groovy Documentation