code: @SuppressWarnings("unchecked")
      public <T> ContentConverter<T> converter(Class<T> classToConvert) {
          for (Converter<?> converter : converters)
              if (converter.classOfConverter.isAssignableFrom(classToConvert))
                  return (ContentConverter<T>) converter.contentConverter;
          return (ContentConverter<T>) defaultConverter;
      }
docs: Returns the converter that would be used to convert the given class to
  a String.
  <p>
  The converters are matched in registered order checking for assignability
  (inheritance). If no converter is found the default converter
  ({@link Object#toString()} is returned.
  
  @param classToConvert the class of the object to convert
  @param <T> the type of the class
  @return the converter that would be used to process objects of the given
  class