AstVisitor implementation that checks for catching an exception type specified in the constructor
This is an internal class and its API is subject to change.Constructor and description |
---|
CommonCatchAstVisitor
(java.lang.String exceptionClassNameWithoutPackage) Construct a new instance, specifying the exception class name |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
visitCatchStatement(org.codehaus.groovy.ast.stmt.CatchStatement catchStatement) |
Methods inherited from class | Name |
---|---|
class AbstractAstVisitor |
addViolation, addViolation, getCurrentClassName, getCurrentClassNode, getRule, getSourceCode, getSourceUnit, getViolations, getVisited, isFirstVisit, isGeneratedCode, isNotGeneratedCode, lastSourceLine, lastSourceLineTrimmed, setRule, setSourceCode, setVisited, shouldVisitMethod, sourceLine, sourceLineTrimmed, visitClass, visitClassComplete, visitClassEx, visitMethod, visitMethodComplete, visitMethodEx |