private @NotNull Reader createInputStreamReader(@NotNull InputStream streamToRead) {
    Charset charset = getCharset();
    if (charset == null) charset = Charset.defaultCharset();
    return new BaseInputStreamReader(streamToRead, charset);
  }
private @NotNull Reader createInputStreamReader(@NotNull InputStream streamToRead)