Closed
Description
Rossen Stoyanchev opened SPR-12738 and commented
Overview
This was encountered while adding support for @RequestMapping
as meta annotation. Following a change from AnnotationUtils.findAnnotation
to AnnotatedElementUtils.getAnnotationAttributes
, there are failing integration tests with controller hierarchies.
Analysis / Known Issues
AnnotatedElementUtils
does not currently support interfaces or bridge methods in its search algorithms.
Deliverables
- Support abstract methods in
AnnotatedElementUtils
. - Support interface methods in
AnnotatedElementUtils
. - Support bridge methods in
AnnotatedElementUtils
. - Support bridged methods in
AnnotatedElementUtils
. - Search for TODOs in
AnnotatedElementUtilsTests
and re-instate@Ignore
'd tests. - Search for TODOs in
TransactionalEventListenerTests
and re-instate@Ignore
'd tests.
Affects: 4.1.5
Issue Links:
- Custom @RequestMapping annotations [SPR-12296] #16901 Custom
@RequestMapping
annotations ("is depended on by") - AnnotatedElementUtils does not find annotations on methods in dynamic proxies [SPR-12703] #17300 AnnotatedElementUtils does not find annotations on methods in dynamic proxies
- Support composed annotations declared on interfaces [SPR-11108] #15734 Support composed annotations declared on interfaces
- Favor more locally declared composed annotations over inherited annotations [SPR-11598] #16221 Favor more locally declared composed annotations over inherited annotations
- AnnotatedElementUtils fails to find type-level annotations on interfaces [SPR-12944] #17537 AnnotatedElementUtils fails to find type-level annotations on interfaces
- Consider not overriding meta-annotation attributes if empty [SPR-11709] #16331 Consider not overriding meta-annotation attributes if empty
Referenced from: commits 7f0f04d, 91e46cf, bccd59e, 8ece1b1, ad6bea1, e0d2dbd, b94c6fd