String function ( Object arg0 ) { if ( arg0 instanceof TypeResolvable ) { String loc0 = ( ( TypeResolvable ) arg0 ) . getType ( ) ; if ( loc0 != null ) { return loc0 ; } } return ClassUtils . getShortNameAsProperty ( arg0 . getClass ( ) ) ; }
determines the messagecode key in messagesource to look up . if typeresolvable is implemented , user can give a custom code , otherwise the short classname is used . concode_field_sep ObjectNameResolver objectNameResolver concode_elem_sep List args concode_elem_sep Log logger concode_elem_sep ReflectiveVisitorHelper visitorSupport concode_elem_sep MessageSource messages concode_elem_sep Locale locale concode_field_sep void add concode_elem_sep MessageSourceResolvable handleRange concode_elem_sep MessageSourceResolvable[] resolveArguments concode_elem_sep void setMessageSource concode_elem_sep String resolveObjectName concode_elem_sep String buildMessage concode_elem_sep String getMessage concode_elem_sep String getMessage concode_elem_sep String getMessage concode_elem_sep String getMessage concode_elem_sep String getMessage concode_elem_sep MessageSourceResolvable handleParameterizedBinaryPredicate concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit concode_elem_sep void visit