@@ -309,11 +309,11 @@ public static Annotation[] getAnnotations(Method method) {
309
309
* {@code annotationType} from the supplied {@link AnnotatedElement}, where
310
310
* such annotations are either <em>present</em>, <em>indirectly present</em>,
311
311
* or <em>meta-present</em> on the element.
312
- * <p>This method mimics the functionality of Java 8's
312
+ * <p>This method mimics the functionality of
313
313
* {@link java.lang.reflect.AnnotatedElement#getAnnotationsByType(Class)}
314
314
* with support for automatic detection of a <em>container annotation</em>
315
- * declared via @ {@link java.lang.annotation.Repeatable} (when running on
316
- * Java 8 or higher) and with additional support for meta-annotations.
315
+ * declared via {@link java.lang.annotation.Repeatable @Repeatable} and with
316
+ * additional support for meta-annotations.
317
317
* <p>Handles both single annotations and annotations nested within a
318
318
* <em>container annotation</em>.
319
319
* <p>Correctly handles <em>bridge methods</em> generated by the
@@ -344,7 +344,7 @@ public static <A extends Annotation> Set<A> getRepeatableAnnotations(AnnotatedEl
344
344
* {@code annotationType} from the supplied {@link AnnotatedElement}, where
345
345
* such annotations are either <em>present</em>, <em>indirectly present</em>,
346
346
* or <em>meta-present</em> on the element.
347
- * <p>This method mimics the functionality of Java 8's
347
+ * <p>This method mimics the functionality
348
348
* {@link java.lang.reflect.AnnotatedElement#getAnnotationsByType(Class)}
349
349
* with additional support for meta-annotations.
350
350
* <p>Handles both single annotations and annotations nested within a
@@ -355,10 +355,9 @@ public static <A extends Annotation> Set<A> getRepeatableAnnotations(AnnotatedEl
355
355
* <em>present</em> on the supplied element.
356
356
* @param annotatedElement the element to look for annotations on
357
357
* @param annotationType the annotation type to look for
358
- * @param containerAnnotationType the type of the container that holds
359
- * the annotations; may be {@code null} if a container is not supported
360
- * or if it should be looked up via @{@link java.lang.annotation.Repeatable}
361
- * when running on Java 8 or higher
358
+ * @param containerAnnotationType the type of the container that holds the
359
+ * annotations; may be {@code null} if a container is not supported or if it
360
+ * should be looked up via {@link java.lang.annotation.Repeatable @Repeatable}
362
361
* @return the annotations found or an empty set (never {@code null})
363
362
* @since 4.2
364
363
* @see #getRepeatableAnnotations(AnnotatedElement, Class)
@@ -390,11 +389,11 @@ public static <A extends Annotation> Set<A> getRepeatableAnnotations(AnnotatedEl
390
389
* of {@code annotationType} from the supplied {@link AnnotatedElement},
391
390
* where such annotations are either <em>directly present</em>,
392
391
* <em>indirectly present</em>, or <em>meta-present</em> on the element.
393
- * <p>This method mimics the functionality of Java 8's
392
+ * <p>This method mimics the functionality of
394
393
* {@link java.lang.reflect.AnnotatedElement#getDeclaredAnnotationsByType(Class)}
395
394
* with support for automatic detection of a <em>container annotation</em>
396
- * declared via @ {@link java.lang.annotation.Repeatable} (when running on
397
- * Java 8 or higher) and with additional support for meta-annotations.
395
+ * declared via {@link java.lang.annotation.Repeatable @Repeatable} and with
396
+ * additional support for meta-annotations.
398
397
* <p>Handles both single annotations and annotations nested within a
399
398
* <em>container annotation</em>.
400
399
* <p>Correctly handles <em>bridge methods</em> generated by the
@@ -426,7 +425,7 @@ public static <A extends Annotation> Set<A> getDeclaredRepeatableAnnotations(Ann
426
425
* of {@code annotationType} from the supplied {@link AnnotatedElement},
427
426
* where such annotations are either <em>directly present</em>,
428
427
* <em>indirectly present</em>, or <em>meta-present</em> on the element.
429
- * <p>This method mimics the functionality of Java 8's
428
+ * <p>This method mimics the functionality of
430
429
* {@link java.lang.reflect.AnnotatedElement#getDeclaredAnnotationsByType(Class)}
431
430
* with additional support for meta-annotations.
432
431
* <p>Handles both single annotations and annotations nested within a
@@ -437,10 +436,9 @@ public static <A extends Annotation> Set<A> getDeclaredRepeatableAnnotations(Ann
437
436
* <em>present</em> on the supplied element.
438
437
* @param annotatedElement the element to look for annotations on
439
438
* @param annotationType the annotation type to look for
440
- * @param containerAnnotationType the type of the container that holds
441
- * the annotations; may be {@code null} if a container is not supported
442
- * or if it should be looked up via @{@link java.lang.annotation.Repeatable}
443
- * when running on Java 8 or higher
439
+ * @param containerAnnotationType the type of the container that holds the
440
+ * annotations; may be {@code null} if a container is not supported or if it
441
+ * should be looked up via {@link java.lang.annotation.Repeatable @Repeatable}
444
442
* @return the annotations found or an empty set (never {@code null})
445
443
* @since 4.2
446
444
* @see #getRepeatableAnnotations(AnnotatedElement, Class)
0 commit comments