AnnotatedElementUtils.findMergedAnnotation作用

 

// 在element上查询annotationType类型注解
// 将查询出的多个annotationType类型注解属性合并到查询的第一个注解中
// # 多个相同注解合并
org.springframework.core.annotation.AnnotatedElementUtils#findMergedAnnotation(AnnotatedElement element, Class<A> annotationType)

 

posted @ 2019-06-18 14:31  GordonDicaprio  阅读(2825)  评论(0编辑  收藏  举报