public Void visitDefault(DefaultAttribute attr, Void ignore) { if (attr.reason != null) { report(attr.reason); } byte[] data = attr.info; int i = 0; int j = 0; print(" "); try { print(attr.getName(constant_pool)); } catch (ConstantPoolException e) { report(e); print("attribute name = #" + attr.attribute_name_index); } print(": "); println("length = 0x" + toHex(attr.info.length)); print(" "); while (i < data.length) { print(toHex(data[i], 2)); j++; if (j == 16) { println(); print(" "); j = 0; } else { print(" "); } i++; } println(); return null; }
@Override public Void visitDefault(DefaultAttribute attr, Void ignore) { if (attr.reason != null) { report(attr.reason); } byte[] data = attr.info; int i = 0; int j = 0; print(" "); try { print(attr.getName(constant_pool)); } catch (ConstantPoolException e) { report(e); print("attribute name = #" + attr.attribute_name_index); } print(": "); println("length = 0x" + toHex(attr.info.length)); print(" "); while (i < data.length) { print(toHex(data[i], 2)); j++; if (j == 16) { println(); print(" "); j = 0; } else { print(" "); } i++; } println(); return null; }
public Void visitDefault(DefaultAttribute attr, Void ignore) { byte[] data = attr.info; int i = 0; int j = 0; print(" "); try { print(attr.getName(constant_pool)); } catch (ConstantPoolException e) { report(e); print("attribute name = #" + attr.attribute_name_index); } print(": "); println("length = 0x" + toHex(attr.info.length)); print(" "); while (i < data.length) { print(toHex(data[i], 2)); j++; if (j == 16) { println(); print(" "); j = 0; } else { print(" "); } i++; } println(); return null; }