@@ -464,7 +464,7 @@ public static <A extends Annotation> Set<A> getMergedRepeatableAnnotations(
464
464
AnnotatedElement element , Class <A > annotationType ,
465
465
@ Nullable Class <? extends Annotation > containerType ) {
466
466
467
- return getRepeatableAnnotations (element , containerType , annotationType )
467
+ return getRepeatableAnnotations (element , annotationType , containerType )
468
468
.stream (annotationType )
469
469
.collect (MergedAnnotationCollectors .toAnnotationSet ());
470
470
}
@@ -760,7 +760,7 @@ public static <A extends Annotation> Set<A> findMergedRepeatableAnnotations(Anno
760
760
public static <A extends Annotation > Set <A > findMergedRepeatableAnnotations (AnnotatedElement element ,
761
761
Class <A > annotationType , @ Nullable Class <? extends Annotation > containerType ) {
762
762
763
- return findRepeatableAnnotations (element , containerType , annotationType )
763
+ return findRepeatableAnnotations (element , annotationType , containerType )
764
764
.stream (annotationType )
765
765
.sorted (highAggregateIndexesFirst ())
766
766
.collect (MergedAnnotationCollectors .toAnnotationSet ());
@@ -771,7 +771,7 @@ private static MergedAnnotations getAnnotations(AnnotatedElement element) {
771
771
}
772
772
773
773
private static MergedAnnotations getRepeatableAnnotations (AnnotatedElement element ,
774
- @ Nullable Class <? extends Annotation > containerType , Class <? extends Annotation > annotationType ) {
774
+ Class <? extends Annotation > annotationType , @ Nullable Class <? extends Annotation > containerType ) {
775
775
776
776
RepeatableContainers repeatableContainers ;
777
777
if (containerType == null ) {
@@ -798,7 +798,7 @@ private static MergedAnnotations findAnnotations(AnnotatedElement element) {
798
798
}
799
799
800
800
private static MergedAnnotations findRepeatableAnnotations (AnnotatedElement element ,
801
- @ Nullable Class <? extends Annotation > containerType , Class <? extends Annotation > annotationType ) {
801
+ Class <? extends Annotation > annotationType , @ Nullable Class <? extends Annotation > containerType ) {
802
802
803
803
RepeatableContainers repeatableContainers ;
804
804
if (containerType == null ) {
0 commit comments