< T > Converter < Object , T > converterForValue ( String attribute , Object value , Class < T > destinationClass ) { return converterForClass ( attribute , value != null ? ( Class < Object > ) value . getClass ( ) : Object . class , destinationClass ) ; }
Returns converter for specified model attribute able to convert value to an instance of destinationClass . Returns null if no suitable converter was found .