Package com.alibaba.tamper.core.process

Examples of com.alibaba.tamper.core.process.ValueProcessInvocation.proceed()


                                                Uberspector.getInstance().getSetClass(setExecutor,
                                                                                      param.getTargetRef().getClass(),
                                                                                      getResultClass));
        }
        // 开始ValueProcess流程
        invocation.proceed(getResult);
    }

    /**
     * 处理下子模型的嵌套mapping动作
     */
 
View Full Code Here


            }
        }

        // 执行set,反射构造一个子Model
        // 如果嵌套对象为null,则直接略过该对象处理,目标对象也为null,此时srcRef可能为null
        Object value = invocation.proceed(srcRef); // 在目标节点对象上,创建一个子节点
        if (srcRef == null && value == null) {
            return; // 如果为null,则不做递归处理
        }

        if (beanField.getSrcField().getClazz() == null || beanField.getTargetField().getClazz() == null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.