Skip to content

Commit c3c1a94

Browse files
committed
ClassUtils: fix AnnotatedObject refs
AnnotatedObject doesn't exist; they're AnnotatedElements.
1 parent 867ab9c commit c3c1a94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/scijava/util/ClassUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,16 +415,16 @@ public static <A extends Annotation> void getAnnotatedFields(
415415

416416
/**
417417
* This method scans the provided class, its superclasses and interfaces for
418-
* all supported {@link Annotation} : {@link AnnotatedObject} pairs.
418+
* all supported {@link Annotation} : {@link AnnotatedElement} pairs.
419419
* These are then cached to remove the need for future queries.
420420
* <p>
421-
* By combining multiple {@code Annotation : AnnotatedObject} pairs in one
421+
* By combining multiple {@code Annotation : AnnotatedElement} pairs in one
422422
* query, we can limit the number of times a class's superclass and interface
423423
* hierarchy are traversed.
424424
* </p>
425425
*
426426
* @param scannedClass Class to scan
427-
* @param query Pairs of {@link Annotation} and {@link AnnotatedObject}s to
427+
* @param query Pairs of {@link Annotation} and {@link AnnotatedElement}s to
428428
* discover.
429429
*/
430430
public static void cacheAnnotatedObjects(final Class<?> scannedClass,

0 commit comments

Comments
 (0)