Skip to content

Commit 3da5917

Browse files
committed
Document attribute alias support in AnnotationUtils
1 parent 2451594 commit 3da5917

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
* for meta-annotations with <em>attribute overrides</em> in
7777
* <em>composed annotations</em>, use {@link AnnotatedElementUtils} instead.
7878
*
79+
* <h3>Attribute Aliases</h3>
80+
* <p>All public methods in this class that return annotations, arrays of
81+
* annotations, or {@link AnnotationAttributes} transparently support attribute
82+
* aliases configured via {@link AliasFor @AliasFor}. Consult the various
83+
* {@code synthesizeAnnotation*(..)} methods for details.
84+
*
7985
* <h3>Search Scope</h3>
8086
* <p>The search algorithms used by methods in this class stop searching for
8187
* an annotation once the first annotation of the specified type has been

0 commit comments

Comments
 (0)