Skip parameter name resolution when not needed in AbstractAutowireCapableBeanFactory
#30103
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
As pointed out in #29612 (comment),
ParameterNameDiscoverer
is used even when parameter name resolution is not needed and could be skipped via a properConstructorArgumentValues#containsNamedArgument
.That could be beneficial both from an efficiency and compatibility perspective (no need to use
-parameter
javac option for such use case).The text was updated successfully, but these errors were encountered: