mw.visitVarInsn(ALOAD, 0);
mw.visitVarInsn(ALOAD, 1);
mw.visitMethodInsn(INVOKESPECIAL, getType(ASMJavaBeanDeserializer.class), "createInstance",
"(" + getDesc(PBDeserializer.class) + ")Ljava/lang/Object;");
mw.visitTypeInsn(CHECKCAST, getType(context.getClazz())); // cast
mw.visitVarInsn(ASTORE, context.var("instance"));
}
} else {
mw.visitInsn(ACONST_NULL);
mw.visitTypeInsn(CHECKCAST, getType(context.getClazz())); // cast
mw.visitVarInsn(ASTORE, context.var("instance"));