@@ -479,12 +479,12 @@ public static <A extends Annotation> Set<A> getAllMergedAnnotations(AnnotatedEle
479
479
* @param annotationType the annotation type to find (never {@code null})
480
480
* @return the set of all merged repeatable {@code Annotations} found,
481
481
* or an empty set if none were found
482
+ * @throws IllegalArgumentException if the {@code element} or {@code annotationType}
483
+ * is {@code null}, or if the container type cannot be resolved
482
484
* @since 4.3
483
485
* @see #getMergedAnnotation(AnnotatedElement, Class)
484
486
* @see #getAllMergedAnnotations(AnnotatedElement, Class)
485
487
* @see #getMergedRepeatableAnnotations(AnnotatedElement, Class, Class)
486
- * @throws IllegalArgumentException if the {@code element} or {@code annotationType}
487
- * is {@code null}, or if the container type cannot be resolved
488
488
*/
489
489
public static <A extends Annotation > Set <A > getMergedRepeatableAnnotations (AnnotatedElement element ,
490
490
Class <A > annotationType ) {
@@ -510,13 +510,13 @@ public static <A extends Annotation> Set<A> getMergedRepeatableAnnotations(Annot
510
510
* {@link java.lang.annotation.Repeatable}
511
511
* @return the set of all merged repeatable {@code Annotations} found,
512
512
* or an empty set if none were found
513
- * @since 4.3
514
- * @see #getMergedAnnotation(AnnotatedElement, Class)
515
- * @see #getAllMergedAnnotations(AnnotatedElement, Class)
516
513
* @throws IllegalArgumentException if the {@code element} or {@code annotationType}
517
514
* is {@code null}, or if the container type cannot be resolved
518
515
* @throws AnnotationConfigurationException if the supplied {@code containerType}
519
516
* is not a valid container annotation for the supplied {@code annotationType}
517
+ * @since 4.3
518
+ * @see #getMergedAnnotation(AnnotatedElement, Class)
519
+ * @see #getAllMergedAnnotations(AnnotatedElement, Class)
520
520
*/
521
521
public static <A extends Annotation > Set <A > getMergedRepeatableAnnotations (AnnotatedElement element ,
522
522
Class <A > annotationType , Class <? extends Annotation > containerType ) {
@@ -803,12 +803,12 @@ public static <A extends Annotation> Set<A> findAllMergedAnnotations(AnnotatedEl
803
803
* @param annotationType the annotation type to find (never {@code null})
804
804
* @return the set of all merged repeatable {@code Annotations} found,
805
805
* or an empty set if none were found
806
+ * @throws IllegalArgumentException if the {@code element} or {@code annotationType}
807
+ * is {@code null}, or if the container type cannot be resolved
806
808
* @since 4.3
807
809
* @see #findMergedAnnotation(AnnotatedElement, Class)
808
810
* @see #findAllMergedAnnotations(AnnotatedElement, Class)
809
811
* @see #findMergedRepeatableAnnotations(AnnotatedElement, Class, Class)
810
- * @throws IllegalArgumentException if the {@code element} or {@code annotationType}
811
- * is {@code null}, or if the container type cannot be resolved
812
812
*/
813
813
public static <A extends Annotation > Set <A > findMergedRepeatableAnnotations (AnnotatedElement element ,
814
814
Class <A > annotationType ) {
@@ -834,13 +834,13 @@ public static <A extends Annotation> Set<A> findMergedRepeatableAnnotations(Anno
834
834
* {@link java.lang.annotation.Repeatable}
835
835
* @return the set of all merged repeatable {@code Annotations} found,
836
836
* or an empty set if none were found
837
- * @since 4.3
838
- * @see #findMergedAnnotation(AnnotatedElement, Class)
839
- * @see #findAllMergedAnnotations(AnnotatedElement, Class)
840
837
* @throws IllegalArgumentException if the {@code element} or {@code annotationType}
841
838
* is {@code null}, or if the container type cannot be resolved
842
839
* @throws AnnotationConfigurationException if the supplied {@code containerType}
843
840
* is not a valid container annotation for the supplied {@code annotationType}
841
+ * @since 4.3
842
+ * @see #findMergedAnnotation(AnnotatedElement, Class)
843
+ * @see #findAllMergedAnnotations(AnnotatedElement, Class)
844
844
*/
845
845
public static <A extends Annotation > Set <A > findMergedRepeatableAnnotations (AnnotatedElement element ,
846
846
Class <A > annotationType , Class <? extends Annotation > containerType ) {
@@ -1326,9 +1326,9 @@ private static Class<? extends Annotation> resolveContainerType(Class<? extends
1326
1326
* annotation for the supplied repeatable {@code annotationType} (i.e.,
1327
1327
* that it declares a {@code value} attribute that holds an array of the
1328
1328
* {@code annotationType}).
1329
- * @since 4.3
1330
1329
* @throws AnnotationConfigurationException if the supplied {@code containerType}
1331
1330
* is not a valid container annotation for the supplied {@code annotationType}
1331
+ * @since 4.3
1332
1332
*/
1333
1333
private static void validateContainerType (Class <? extends Annotation > annotationType ,
1334
1334
Class <? extends Annotation > containerType ) {
@@ -1351,9 +1351,6 @@ private static void validateContainerType(Class<? extends Annotation> annotation
1351
1351
}
1352
1352
}
1353
1353
1354
- /**
1355
- * @since 4.3
1356
- */
1357
1354
private static <A extends Annotation > Set <A > postProcessAndSynthesizeAggregatedResults (AnnotatedElement element ,
1358
1355
Class <A > annotationType , List <AnnotationAttributes > aggregatedResults ) {
1359
1356
0 commit comments