public static @NotNull JBCefProxySettings getInstance() {
    if (ApplicationManager.getApplication().isUnitTestMode() && ourTestInstance != null) {
      return ourTestInstance;
    }
    HttpConfigurable httpSettings = HttpConfigurable.getInstance();
    return new JBCefProxySettings(
      httpSettings.USE_HTTP_PROXY,
      httpSettings.PROXY_TYPE_IS_SOCKS,
      httpSettings.USE_PROXY_PAC,
      httpSettings.USE_PAC_URL,
      httpSettings.PAC_URL,
      httpSettings.PROXY_HOST,
      httpSettings.PROXY_PORT,
      httpSettings.PROXY_EXCEPTIONS,
      httpSettings.PROXY_AUTHENTICATION,
      new Credentials() {
        @Override
        public @Nullable String getLogin() {
          return httpSettings.getProxyLogin();
        }

        @Override
        public @Nullable String getPassword() {
          return httpSettings.getPlainProxyPassword();
        }
      });
  }
public static @NotNull JBCefProxySettings getInstance()