Skip to content

@AliasFor attribute name should default to declaring attribute [SPR-13828] #18401

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-13828 and commented

@AliasFor currently insists on the attribute name to be specified, through either attribute or value. For references to same-named attributes on meta-annotations, the attribute name could easily default to the declaring attribute. A typical use case is creating custom @Value annotations with a mirrored value attribute (#18181).


Affects: 4.2.4

Issue Links:

Referenced from: commits 3242ad8

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions