Class LoggingSwallowsStacktraceAstVisitor

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

public class LoggingSwallowsStacktraceAstVisitor extends AbstractAstVisitor implements groovy.lang.GroovyObject
  • Constructor Details

    • LoggingSwallowsStacktraceAstVisitor

      public LoggingSwallowsStacktraceAstVisitor()
  • Method Details

    • getMetaClass

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

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

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

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

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

      public Map<org.codehaus.groovy.ast.ClassNode,List<String>> getClassNodeToLoggerNames()
    • setClassNodeToLoggerNames

      public void setClassNodeToLoggerNames(Map<org.codehaus.groovy.ast.ClassNode,List<String>> value)
    • visitField

      public void visitField(org.codehaus.groovy.ast.FieldNode fieldNode)
      Specified by:
      visitField in interface org.codehaus.groovy.ast.GroovyClassVisitor
      Overrides:
      visitField in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
    • visitCatchStatement

      public void visitCatchStatement(org.codehaus.groovy.ast.stmt.CatchStatement statement)
      Specified by:
      visitCatchStatement in interface org.codehaus.groovy.ast.GroovyCodeVisitor
      Overrides:
      visitCatchStatement in class org.codehaus.groovy.ast.ClassCodeVisitorSupport