Skip to content

@AliasFor is needed on all attributes (even if they have the same name as the "parent") [SPR-13554] #18130

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-13554 and commented

From a comment in #18028. "The custom annotation has to use @AliasFor on all its inherited attributes for this to work." (And Sam said: "Are you saying that convention-based attribute overrides do not work? If so, then that's a bug, and please report it.")


Affects: 4.2.1

Issue Links:

Referenced from: commits 6826bdd, 5e1d6e4

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions