public static class RepeatableAnnotationCollector.Standard extends RepeatableAnnotationCollector.AbstractCollector
value
的属性时,
若该属性类型为注解数组,且该数组对应的注解类型被Repeatable
注解,
则收集器将返回该属性中包括的可重复注解。RepeatableAnnotationCollector.AbstractCollector, RepeatableAnnotationCollector.Condition, RepeatableAnnotationCollector.Full, RepeatableAnnotationCollector.None, RepeatableAnnotationCollector.Standard
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRepeatableMethod(Method attribute)
判断方法是否为容器注解的
value 方法 |
protected List<Method> |
resolveRepeatableMethod(Annotation annotation)
解析获得注解中存放可重复注解的属性
|
getAllRepeatableAnnotations, getFinalRepeatableAnnotations, getRepeatableAnnotations, getRepeatableAnnotationsFormAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearSingletonCaches, condition, full, none, standard
protected List<Method> resolveRepeatableMethod(Annotation annotation)
resolveRepeatableMethod
in class RepeatableAnnotationCollector.AbstractCollector
annotation
- 注解protected boolean isRepeatableMethod(Method attribute)
value
方法attribute
- 注解的属性Copyright © 2025. All rights reserved.