1、getDeclared* 与get* 的区别:以getDeclaredMethods getMethods为例
getDeclaredMethods 返回自身类所有公用和私有方法,但不包括继承方法
getMethods 返回该类所有公用方法,包括继承类的公用方法
getDeclaredAnnotations 返回直接存在于此元素上所有注解,忽略继承的注解
getAnnotations 返回所有注解,包括继承的注解
getDeclaredMethods 返回自身类所有公用和私有方法,但不包括继承方法
getMethods 返回该类所有公用方法,包括继承类的公用方法
getDeclaredAnnotations 返回直接存在于此元素上所有注解,忽略继承的注解
getAnnotations 返回所有注解,包括继承的注解