public <T> Converter<T, String> stringConverter(Type type, Annotation[] annotations) {
    checkNotNull(type, "type == null");
    checkNotNull(annotations, "annotations == null");

    for (int i = 0, count = converterFactories.size(); i < count; i++) {
      Converter<?, String> converter =
          converterFactories.get(i).stringConverter(type, annotations, this);
      if (converter != null) {
        //noinspection unchecked
        return (Converter<T, String>) converter;
      }
    }

    // Nothing matched. Resort to default converter which just calls toString().
    //noinspection unchecked
    return (Converter<T, String>) BuiltInConverters.ToStringConverter.INSTANCE;
  }
public <T> Converter<T, String> stringConverter(Type type, Annotation[] annotations) {
    checkNotNull(type, "type == null");
    checkNotNull(annotations, "annotations == null");

    for (int i = 0, count = converterFactories.size(); i < count; i++) {
      Converter<?, String> converter =
          converterFactories.get(i).stringConverter(type, annotations, this);
      if (converter != null) {
        
        return (Converter<T, String>) converter;
      }
    }

    
    
    return (Converter<T, String>) BuiltInConverters.ToStringConverter.INSTANCE;
  }
public < T > Converter < T , String > stringConverter ( Type type , Annotation [ ] annotations ) { checkNotNull ( type , "type == null" ) ; checkNotNull ( annotations , "annotations == null" ) ; for ( int i = 0 , count = converterFactories . size ( ) ; i < count ; i ++ ) { Converter < ? , String > converter = converterFactories . get ( i ) . stringConverter ( type , annotations , this ) ; if ( converter != null ) { //noinspection unchecked return ( Converter < T , String > ) converter ; } } // Nothing matched. Resort to default converter which just calls toString(). //noinspection unchecked return ( Converter < T , String > ) BuiltInConverters . ToStringConverter . INSTANCE ; }
Returns a {@link Converter} for {@code type} to {@link String} from the available
{@linkplain #converterFactories() factories}.
Returns a {