R4481 Checkstyle Parameter Rename Issue
Cantor, Scott
cantor.2 at osu.edu
Tue Sep 13 14:49:15 EDT 2016
> That's preference on the basis that constructor arguments are useful in many
> cases and the name-based syntax is helpful for documentation and support.
> It's more work, of course. We would need a custom annotation applied to
> constructors and an implementation of
> org.springframework.core.ParameterNameDiscoverer that reads it. The
> tooling to apply the annotation based on existing method signatures ought to
> be straightforward. So while it's more work, it doesn't seem unreasonable.
It could also be prioritized around annotating the ones we're actually using in the wiring.
I wasn't aware of that capability, but I am in favor of a bit of work for us in the service of making the system easier to configure.
-- Scott
More information about the dev
mailing list