Closed
Description
Sam Brannen opened SPR-11470 and commented
Overview
The findAnnotationDescriptor()
and findAnnotationDescriptorForTypes()
methods in MetaAnnotationUtils
currently only support a single level of meta-annotations.
In other words, meta-annotations on meta-annotations will never be found, and this does not align with Spring's standard support for meta-annotations with arbitrary levels.
Deliverables
- Alter the search algorithms used in
MetaAnnotationUtils
so that arbitrary levels of meta-annotations (e.g., meta-annotations on meta-annotations) are supported for test-related annotations.
Affects: 4.0 GA
Issue Links:
- AnnotationUtils.findAnnotation() should support arbitrary levels of meta-annotations [SPR-11448] #16074 AnnotationUtils.findAnnotation() should support arbitrary levels of meta-annotations
- TypeDescriptor should support arbitrary levels of meta-annotations [SPR-12793] #17390 TypeDescriptor should support arbitrary levels of meta-annotations
Referenced from: commits f895096