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).
As pointed out in #29612 (comment),
ParameterNameDiscovereris 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
-parameterjavac option for such use case).