protected void serializeClass(StaticElementInfo sei) {
    super.serializeClass(sei);

    FinalBitSet filtered = getStaticFilterMask(sei.getClassInfo());
    os.print(sei, filtered);
    os.println();
  }
  public void processElementInfo(ElementInfo ei) {
    super.processElementInfo(ei);

    FinalBitSet filtered = !ei.isArray() ? getInstanceFilterMask(ei.getClassInfo()) : null;
    os.print(ei, filtered);
    os.println();
  }
 protected void serializeFrame(StackFrame frame) {
   os.print(frame);
   os.println();
   super.serializeFrame(frame);
 }
 protected void serializeStackFrames(ThreadInfo ti) {
   os.println();
   os.print(ti);
   os.println();
   super.serializeStackFrames(ti);
 }
 protected void serializeStackFrames() {
   os.println();
   os.printCommentLine("--- threads");
   os.println();
   super.serializeStackFrames();
 }
 protected void serializeStatics() {
   os.println();
   os.printCommentLine("--- classes");
   os.println();
   super.serializeStatics();
 }
 protected void processReferenceQueue() {
   os.println();
   os.printCommentLine("--- heap");
   os.println();
   super.processReferenceQueue();
 }
 protected int[] computeStoringData() {
   os.printCommentLine("------------------------ serialized state");
   return super.computeStoringData();
 }