Spring AnnotationUtils注解公共Util
static findanotation(Method method, Class annotationType) Method:
通过传入AnnotatedElement和注解类型来查找方法或者类对象上的注解
参数method是获取调用类的方法和annotation Type注解Class,例如下部分程序
this.persistentClass = persistentClass;
原创
2018-01-18 16:11:11 ·
5529 阅读 ·
0 评论