code: @Override
      public void visitCode(Code obj) {
  
          stack.resetForMethodEntry(this);
          localSpecialObjects.clear();
          sawTernary = false;
          super.visitCode(obj);
  
          for (Integer pc : localSpecialObjects.values()) {
              bugReporter.reportBug(
                      makeLocalBugInstance().addClass(this).addMethod(this).addSourceLine(this, pc.intValue()));
          }
      }
docs: overrides the visitor reset the stack
  
  @param obj the context object of the currently parsed code block