String signature = Type.getMethodSignature(type, arg_types);
signature = Utility.methodSignatureToString(signature, name, access, true,
getLocalVariableTable(cp));
StringBuilder buf = new StringBuilder(signature);
for (int i = 0; i < getAttributes().length; i++) {
Attribute a = getAttributes()[i];
if (!((a instanceof Code) || (a instanceof ExceptionTable))) {
buf.append(" [").append(a.toString()).append("]");
}
}
if (throws_vec.size() > 0) {
for (String throwsDescriptor : throws_vec) {