摘要:
1、getXXX 和 getDeclaredXXX java 里 Class<?> 有下面这些方法: 类似的方法有: 2、getMethod(s) 和 getDeclaredMethod(s) getDeclaredMethods只获取当前对象申明的方法,不包含继承过来的方法 getMethods获 阅读全文
摘要:
自定义字段描述 获取字段自定义注解 输出: @com.demo.common.FieldDescrib(desc=正常情况是1-100, name=学生的年纪)@com.demo.common.FieldDescrib(desc=0:未知 1:男 2:女, name=学生的性别)name:age=2 阅读全文