code: @Override
      public void visitCode(Code obj) {
          stack.resetForMethodEntry(this);
          nodeCreations.clear();
          nodeStores.clear();
          super.visitCode(obj);
  
          BitSet reportedPCs = new BitSet();
          for (Integer pc : nodeCreations.values()) {
              if (!reportedPCs.get(pc.intValue())) {
                  bugReporter.reportBug(new BugInstance(this, BugType.ODN_ORPHANED_DOM_NODE.name(), NORMAL_PRIORITY).addClass(this).addMethod(this)
                          .addSourceLine(this, pc.intValue()));
                  reportedPCs.set(pc.intValue());
              }
          }
          for (Integer pc : nodeStores.values()) {
              if (!reportedPCs.get(pc.intValue())) {
                  bugReporter.reportBug(new BugInstance(this, BugType.ODN_ORPHANED_DOM_NODE.name(), NORMAL_PRIORITY).addClass(this).addMethod(this)
                          .addSourceLine(this, pc.intValue()));
                  reportedPCs.set(pc.intValue());
              }
          }
      }
docs: implements the visitor to clear the opcode stack for the next code
  
  @param obj
  the context object for the currently parsed code block