if (Modifier.isStatic(method.getModifiers())) {
MethodHandleFactory.genLoadParametersPrimitiveDirect(2, mv, helper, method);
mv.visitMethodInsn(Opcodes.INVOKESTATIC, type, method.getName(), descriptor);
} else {
mv.visitVarInsn(Opcodes.ALOAD, 1);
helper.doCast(callClass);
MethodHandleFactory.genLoadParametersPrimitiveDirect(2, mv, helper, method);
mv.visitMethodInsn((useInterface) ? Opcodes.INVOKEINTERFACE : Opcodes.INVOKEVIRTUAL, type, method.getName(), descriptor);
}
helper.box(method.getReturnType());