code: @Override
      public void visitClassContext(final ClassContext classContext) {
          try {
              JavaClass cls = classContext.getJavaClass();
              if (!cls.isFinal()) {
                  stack = new OpcodeStack();
                  methodToCalledMethods = new HashMap<>();
                  super.visitClassContext(classContext);
  
                  if (!methodToCalledMethods.isEmpty()) {
                      reportChainedMethods();
                  }
              }
          } finally {
              stack = null;
              methodToCalledMethods = null;
          }
      }
docs: implements the visitor to set up the stack and methodToCalledmethods map reports calls to public non final methods from methods called from constructors.
  
  @param classContext
  the context object of the currently parsed class