@Override public void visitLdcInsn(Object cst) { if (cst instanceof Handle) { Handle handle = (Handle) cst; cst = new Handle( handle.getTag(), handle.getOwner(), handle.getName(), getMethodDescriptor(handle.getDesc())); } super.visitLdcInsn(cst); }
@Override protected void appendDescriptor(int type, String desc) { switch (type) { case INTERNAL_NAME: if (desc != null) { desc = getInternalName(desc); } break; case FIELD_DESCRIPTOR: desc = getDescriptor(desc); break; case METHOD_DESCRIPTOR: desc = getMethodDescriptor(desc); break; } super.appendDescriptor(type, desc); }