docs: @Singleton
      protected @Nonnull TypeConverter<CharSequence, Readable> readableTypeConverter(ResourceResolver resourceResolver) {
          return (object, targetType, context) -> {
              String pathStr = object.toString();
              Optional<ResourceLoader> supportingLoader = resourceResolver.getSupportingLoader(pathStr);
              if (!supportingLoader.isPresent()) {
                  context.reject(pathStr, new ConfigurationException(
                          "No supported resource loader for path [" + pathStr + "]. Prefix the path with a supported prefix such as 'classpath:' or 'file:'"
                  ));
                  return Optional.empty();
              } else {
                  final Optional<URL> resource = resourceResolver.getResource(pathStr);
                  if (resource.isPresent()) {
                      return Optional.of(Readable.of(resource.get()));
                  } else {
                      context.reject(object, new ConfigurationException("No resource exists for value: " + object));
                      return Optional.empty();
                  }
              }
  
          };
      }