67,542
社区成员
发帖
与我相关
我的任务
分享 new InvocationHandler() {
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
Object reObj = null;
reObj = method.invoke(c, args);
return reObj;
}
});

楼主:return reObj return null 这个你应该根据自己方法功能的情况,需要返回值时,就重写 返回 reObj的方法,不许要则反之