Proxy (@NotNull String url) { try { List<Proxy> proxies = IdeUiService.getInstance().getProxyList(new URL(url)); return !proxies.isEmpty() ? proxies.get(0) : Proxy.NO_PROXY; } catch (MalformedURLException e) { // ignore } return Proxy.NO_PROXY; }