Class ThrowExceptionFromFinallyBlockAstVisitor

java.lang.Object
org.codehaus.groovy.ast.CodeVisitorSupport
org.codehaus.groovy.ast.ClassCodeVisitorSupport
org.codenarc.rule.AbstractAstVisitor
org.codenarc.rule.basic.AbstractFinallyAstVisitor
org.codenarc.rule.basic.ThrowExceptionFromFinallyBlockAstVisitor
All Implemented Interfaces:
groovy.lang.GroovyObject, org.codehaus.groovy.ast.GroovyClassVisitor, org.codehaus.groovy.ast.GroovyCodeVisitor, AstVisitor

public class ThrowExceptionFromFinallyBlockAstVisitor extends AbstractFinallyAstVisitor
  • Constructor Details

    • ThrowExceptionFromFinallyBlockAstVisitor

      public ThrowExceptionFromFinallyBlockAstVisitor()
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      getMetaClass in class AbstractFinallyAstVisitor
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      setMetaClass in class AbstractFinallyAstVisitor
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
      Overrides:
      invokeMethod in class AbstractFinallyAstVisitor
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
      Overrides:
      getProperty in class AbstractFinallyAstVisitor
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
      Overrides:
      setProperty in class AbstractFinallyAstVisitor
    • visitThrowStatement

      public void visitThrowStatement(org.codehaus.groovy.ast.stmt.ThrowStatement throwStatement)
      Specified by:
      visitThrowStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
      Overrides:
      visitThrowStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport