/** * 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); }
/** * 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); }
return TwoColumnOutput.toString(s1, w1, separator, s2, w2);
return TwoColumnOutput.toString(s1, w1, separator, s2, w2);
return TwoColumnOutput.toString(s1, w1, separator, s2, w2);
return TwoColumnOutput.toString(s1, w1, separator, s2, w2);
return TwoColumnOutput.toString(s1, w1, separator, s2, w2);