private static @NotNull ProxySearch getDefaultProxySearchStrategy() {
    ProxySearch proxySearch = new ProxySearch();
    proxySearch.addStrategy(ProxySearch.Strategy.JAVA);
    proxySearch.addStrategy(ProxySearch.Strategy.OS_DEFAULT);
    if (SystemInfo.isWindows) { // for some (likely legacy) reasons, system proxy settings can only be detected using the search for IE
      proxySearch.addStrategy(ProxySearch.Strategy.IE);
    }
    proxySearch.addStrategy(ProxySearch.Strategy.ENV_VAR);
    // cache 32 urls for up to 10 min
    proxySearch.setPacCacheSettings(32, 10 * 60 * 1000, BufferedProxySelector.CacheScope.CACHE_SCOPE_HOST);
    return proxySearch;
  }
private static @NotNull ProxySearch getDefaultProxySearchStrategy()