@Override public void visitMethodAttribute(final Attribute attr) { buf.setLength(0); buf.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attr.type); if (attr instanceof Textifiable) { ((Textifiable) attr).textify(buf, labelNames); } else { buf.append(" : unknown\n"); } text.add(buf.toString()); }
@Override public void visitMethodAttribute(final Attribute attribute) { stringBuilder.setLength(0); stringBuilder.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attribute.type); if (attribute instanceof Textifiable) { StringBuffer stringBuffer = new StringBuffer(); ((Textifiable) attribute).textify(stringBuffer, labelNames); stringBuilder.append(stringBuffer.toString()); } else { stringBuilder.append(" : unknown\n"); } text.add(stringBuilder.toString()); }
@Override public void visitMethodAttribute(final Attribute attribute) { stringBuilder.setLength(0); stringBuilder.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attribute.type); if (attribute instanceof Textifiable) { StringBuffer stringBuffer = new StringBuffer(); ((Textifiable) attribute).textify(stringBuffer, labelNames); stringBuilder.append(stringBuffer.toString()); } else { stringBuilder.append(" : unknown\n"); } text.add(stringBuilder.toString()); }
/** * Prints a disassembled view of the given attribute. * * @param attribute an attribute. */ public void visitAttribute(final Attribute attribute) { stringBuilder.setLength(0); stringBuilder.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attribute.type); if (attribute instanceof Textifiable) { StringBuffer stringBuffer = new StringBuffer(); ((Textifiable) attribute).textify(stringBuffer, null); stringBuilder.append(stringBuffer.toString()); } else { stringBuilder.append(" : unknown\n"); } text.add(stringBuilder.toString()); }
/** * Prints a disassembled view of the given attribute. * * @param attr * an attribute. */ public void visitAttribute(final Attribute attr) { buf.setLength(0); buf.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attr.type); if (attr instanceof Textifiable) { ((Textifiable) attr).textify(buf, null); } else { buf.append(" : unknown\n"); } text.add(buf.toString()); }
/** * Prints a disassembled view of the given attribute. * * @param attribute an attribute. */ public void visitAttribute(final Attribute attribute) { stringBuilder.setLength(0); stringBuilder.append(tab).append("ATTRIBUTE "); appendDescriptor(-1, attribute.type); if (attribute instanceof Textifiable) { StringBuffer stringBuffer = new StringBuffer(); ((Textifiable) attribute).textify(stringBuffer, null); stringBuilder.append(stringBuffer.toString()); } else { stringBuilder.append(" : unknown\n"); } text.add(stringBuilder.toString()); }