/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuilder sb = new StringBuilder(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code width >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code width >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** {@inheritDoc} */ @Override public final String toString() { StringBuffer sb = new StringBuffer(100); sb.append(identifierString()); sb.append(' '); sb.append(position); sb.append(": "); sb.append(opcode.getName()); boolean needComma = false; if (registers.size() != 0) { sb.append(registers.toHuman(" ", ", ", null)); needComma = true; } String extra = argString(); if (extra != null) { if (needComma) { sb.append(','); } sb.append(' '); sb.append(extra); } return sb.toString(); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }
/** * Returns the string form of this instance suitable for inclusion in * a human-oriented listing dump. This method will return {@code null} * if this instance should not appear in a listing. * * @param prefix {@code non-null;} prefix before the address; each follow-on * line will be indented to match as well * @param width {@code >= 0;} the width of the output or {@code 0} for * unlimited width * @param noteIndices whether to include an explicit notation of * constant pool indices * @return {@code null-ok;} the string form or {@code null} if this * instance should not appear in a listing */ public final String listingString(String prefix, int width, boolean noteIndices) { String insnPerSe = listingString0(noteIndices); if (insnPerSe == null) { return null; } String addr = prefix + identifierString() + ": "; int w1 = addr.length(); int w2 = (width == 0) ? insnPerSe.length() : (width - w1); return TwoColumnOutput.toString(addr, w1, "", insnPerSe, w2); }