public void displayStringOn(IndentingPrintWriter writer) {
   writer.println("Declaration:");
   writer.indent();
   this.printDeclarationOn(writer);
   writer.undent();
   writer.println();
 }
 public void displayStringOn(IndentingPrintWriter writer) {
   writer.println(this.innerClassName());
   writer.indent();
   writer.print("inner class info name: ");
   writer.println(this.innerClassInfoName());
   writer.print("outer class info name: ");
   writer.println(this.outerClassInfoName());
   writer.print("inner class name: ");
   writer.println(this.innerClassName());
   writer.print("modifier string: ");
   writer.println(this.modifierString());
   writer.undent();
 }
Esempio n. 3
0
 public void displayStringOn(IndentingPrintWriter writer) {
   short cnt = this.count;
   Field[] localFields = this.fields;
   writer.print("Field Pool (count: ");
   writer.print(cnt);
   writer.println(')');
   writer.indent();
   for (short i = 0; i < cnt; i++) {
     writer.print(i);
     writer.print(": ");
     localFields[i].displayStringOn(writer);
   }
   writer.undent();
 }
 void displayInfoStringOn(IndentingPrintWriter writer) {
   writer.print("max stack: ");
   writer.println(this.maxStack);
   writer.print("max locals: ");
   writer.println(this.maxLocals);
   writer.print("code: ");
   this.writeHexStringOn(this.code, writer);
   writer.println();
   short count = this.exceptionHandlerCount;
   writer.print("Exception Handlers (count: ");
   writer.print(count);
   writer.println(")");
   writer.indent();
   ExceptionHandler[] handlers = this.exceptionHandlers;
   for (short i = 0; i < count; i++) {
     writer.print(i);
     writer.print(": ");
     handlers[i].displayStringOn(writer);
   }
   writer.undent();
   this.attributePool.displayStringOn(writer);
 }