摘要:
1.反射方法public void test(Object o) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, IntrospectionException { Field[] fields = o.getClass().getDeclaredFields(); for (Field f : fields) { // 设置允许访问私有字段的值 f.setAcc... 阅读全文
posted @ 2013-11-07 11:10
telzhou
阅读(597)
评论(0)
推荐(0)

浙公网安备 33010602011771号