摘要: getFields()获得某个类的所有的公共(public)的字段,包括父类。 getDeclaredFields()获得某个类的所有申明的字段,即包括public、private和proteced, 但是不包括父类的申明字段。 同样类似的还有getConstructors()和getDeclare 阅读全文
posted @ 2016-08-27 10:35 kedarui 阅读(398) 评论(0) 推荐(0) 编辑