2020年3月24日
摘要: 说明: 作为反射工具类,通过对象和属性的名字获取对象属性的值,如果在当前对象属性没有找到,依次向上收集所有父类的属 性,直到找到属性值,没有找到返回null; 代码: 1.classUtil package com.example.demo.utill; import java.lang.refle 阅读全文
posted @ 2020-03-24 22:09 JonRain0625 阅读(12336) 评论(0) 推荐(0) 编辑