Skip to content

Skip parameter name resolution when not needed in AbstractAutowireCapableBeanFactory #30103

Closed
@sdeleuze

Description

@sdeleuze

As pointed out in #29612 (comment), ParameterNameDiscoverer is used even when parameter name resolution is not needed and could be skipped via a proper ConstructorArgumentValues#containsNamedArgument.

That could be beneficial both from an efficiency and compatibility perspective (no need to use -parameter javac option for such use case).

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