static fun getNameForParameter(parameter: MethodParameter): String
Derive the model attribute name for the given method parameter based on a @ModelAttribute parameter annotation (if present) or falling back on parameter type based conventions.
parameter - a descriptor for the method parameter
Return
the derived name
See Also
Conventions#getVariableNameForParameter(MethodParameter)