buf.append("new Handle("); Handle h = (Handle) cst; buf.append("Opcodes.").append(HANDLE_TAG[h.getTag()]) .append(", \""); buf.append(h.getOwner()).append("\", \"");
int tag = h.getTag(); buf.append("// handle kind 0x").append(Integer.toHexString(tag)) .append(" : ");
buf.append("new Handle("); Handle h = (Handle) cst; buf.append("Opcodes.").append(HANDLE_TAG[h.getTag()]) .append(", \""); buf.append(h.getOwner()).append("\", \"");
public Object mapValue(Object value) { if (value instanceof Type) { return mapType((Type) value); } if (value instanceof Handle) { Handle h = (Handle) value; return new Handle(h.getTag(), mapType(h.getOwner()), mapMethodName( h.getOwner(), h.getName(), h.getDesc()), mapMethodDesc(h.getDesc())); } return value; }