Introduce 'value' alias for 'attribute' in @AliasFor [SPR-13289] #17879
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Sam Brannen opened SPR-13289 and commented
Status Quo
#16137 introduced support for annotation attribute aliases via
@AliasFor
. For example, this support allows@ContextConfiguration
from thespring-test
module to declare aliases as follows:For greater readability, it would be beneficial to be able to omit the
attribute = "..."
declaration by providing avalue
alias forattribute
.Deliverables
value
alias forattribute
in@AliasFor
.Affects: 4.2 RC1
Issue Links:
Referenced from: commits 7252920, 1c8ac2b
The text was updated successfully, but these errors were encountered: