Groovy Documentation

org.codenarc.rule.basic
Class EmptyCatchBlockRule

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

class EmptyCatchBlockRule
extends AbstractAstVisitorRule

Rule that checks for empty catch blocks

author:
Chris Mair
version:
$Revision: 139 $ - $Date: 2009-05-07 21:55:09 -0400 (Thu, 07 May 2009) $


Property Summary
Class astVisitorClass

String name

int priority

 
Constructor Summary
EmptyCatchBlockRule()

 
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

EmptyCatchBlockRule

EmptyCatchBlockRule()


 

Groovy Documentation