@Override
  public @Nullable Charset getCachedCharsetFromContent(@NotNull Document document) {
    return null;
  }
@Override
  public @Nullable Charset getCachedCharsetFromContent(@NotNull Document document)