-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement
Milestone
Description
Sam Brannen opened SPR-11483 and commented
Status Quo
Several annotation-based search algorithms within the Spring Framework inspect meta-annotations on Java annotations as part of their recursive search processes. However, such inspection is unnecessary simply because any annotation on a Java annotation (e.g., @Retention
, @Target
, @Documented
, etc.) will be irrelevant to the current search. In other words, a Spring annotation or a custom user annotation will never be present on a Java annotation. So it makes no sense to look for it there.
Deliverables
For each of the affected search algorithms in the following classes, do not inspect meta-annotations on annotations from the java.lang.annotation
package.
-
AnnotationUtils
-
AnnotatedElementUtils
-
MetaAnnotationUtils
Affects: 4.0 GA
Issue Links:
- Eliminate inspection of meta-annotations on Java annotations [SPR-12989] #17580 Eliminate inspection of meta-annotations on Java annotations ("is depended on by")
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement