code: @Override
      public void visitCode(Code obj) {
          stack.resetForMethodEntry(this);
          conditionalTarget = -1;
          sawMethodWeight = 0;
          super.visitCode(obj);
      }
docs: overrides the visitor to reset the opcode stack, and initialize vars
  
  @param obj
  the code object of the currently parsed method