private static @Nullable VirtualFile computeVirtualFileForValidUrlOrNull(@NotNull String url) {
    Url parse = Urls.parse(url, false);
    if (parse == null || StringUtil.isEmpty(parse.getAuthority()) || StringUtil.isEmpty(parse.getPath())) return null;
    return urlToFile(url);
  }
private static @Nullable VirtualFile computeVirtualFileForValidUrlOrNull(@NotNull String url)