String function ( MethodParameter arg0 ) { ModelAttribute loc0 = arg0 . getParameterAnnotation ( ModelAttribute . class ) ; String loc1 = ( loc0 != null ) ? loc0 . value ( ) : null ; return StringUtils . hasText ( loc1 ) ? loc1 : Conventions . getVariableNameForParameter ( arg0 ) ; }
derives the model attribute name for a method parameter based on : the parameter @modelattribute annotation valuethe parameter type concode_field_sep SessionAttributesHandler sessionAttributesHandler concode_elem_sep Set<String> dependencies concode_elem_sep Log logger concode_elem_sep WebDataBinderFactory dataBinderFactory concode_elem_sep InvocableHandlerMethod handlerMethod concode_elem_sep List<ModelMethod> modelMethods concode_field_sep InvocableHandlerMethod getHandlerMethod concode_elem_sep void updateModel concode_elem_sep ModelMethod getNextModelMethod concode_elem_sep List<String> findSessionAttributeArguments concode_elem_sep boolean isBindingCandidate concode_elem_sep void invokeModelAttributeMethods concode_elem_sep void updateBindingResult concode_elem_sep String getNameForReturnValue concode_elem_sep String toString concode_elem_sep void initModel concode_elem_sep List<String> getUnresolvedDependencies concode_elem_sep boolean checkDependencies