对JAVA Bean使用PropertyDescriptor反射调用JAVA方法
Field[] fields=invest.getClass().getDeclaredFields();
for(int i=0;i<fields.length;i++){
PropertyDescriptor pd = new PropertyDescriptor(fields[i].getName(),invest.getClass());
Method getM
原创
2014-07-20 18:15:47 ·
1304 阅读 ·
0 评论