this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
this.leftBuf = leftWriter.getBuffer(); this.rightBuf = rightWriter.getBuffer(); this.leftColumn = new IndentingWriter(leftWriter, leftWidth); this.rightColumn = new IndentingWriter(rightWriter, rightWidth, spacer);
int len2 = s2.length(); StringWriter sw = new StringWriter(len2 * 2); IndentingWriter iw = new IndentingWriter(sw, w2, separator);
int len2 = s2.length(); StringWriter sw = new StringWriter(len2 * 2); IndentingWriter iw = new IndentingWriter(sw, w2, separator);
int len2 = s2.length(); StringWriter sw = new StringWriter(len2 * 2); IndentingWriter iw = new IndentingWriter(sw, w2, separator);
int len2 = s2.length(); StringWriter sw = new StringWriter(len2 * 2); IndentingWriter iw = new IndentingWriter(sw, w2, separator);
int len2 = s2.length(); StringWriter sw = new StringWriter(len2 * 2); IndentingWriter iw = new IndentingWriter(sw, w2, separator);
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }
/** * Does a human-friendly dump of this instance. * * @param out {@code non-null;} where to dump * @param prefix {@code non-null;} prefix to attach to each line of output * @param verbose whether to be verbose; verbose output includes * lines for zero-size instructions and explicit constant pool indices */ public void debugPrint(Writer out, String prefix, boolean verbose) { IndentingWriter iw = new IndentingWriter(out, 0, prefix); int sz = size(); try { for (int i = 0; i < sz; i++) { DalvInsn insn = (DalvInsn) get0(i); String s; if ((insn.codeSize() != 0) || verbose) { s = insn.listingString("", 0, verbose); } else { s = null; } if (s != null) { iw.write(s); } } iw.flush(); } catch (IOException ex) { throw new RuntimeException(ex); } }