Java
梧桐细语
平凡的人在奋斗
展开
-
方法反射出现异常
User user = new User(10); Class c = user.getClass(); String methodName="getName"; method = c.getMethod(methodName); fieldValue = method.invoke(c); 报出:object is not an instance of declaring class原创 2017-03-20 10:21:23 · 1324 阅读 · 0 评论 -
https://www.cnblogs.com/ygj0930/p/6542259.html
动态代理,基础理论讲解转载 2018-02-27 17:20:30 · 831 阅读 · 0 评论