TypeDescriptor should support arbitrary levels of meta-annotations [SPR-12793] #17390
Closed
1 task done
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Sam Brannen opened SPR-12793 and commented
Status Quo
The
getAnnotation()
method inTypeDescriptor
currently only supports 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.
For example,
@NumberFormat
and@DateTimeFormat
are supported as meta-annotations but not as meta-meta-annotations.Deliverables
TypeDescriptor.getAnnotation()
so that arbitrary levels of meta-annotations are supported.Affects: 3.2 GA
Issue Links:
@NumberFormat
as a meta-annotation ("depends on")Referenced from: commits 04d6afe
The text was updated successfully, but these errors were encountered: