docs: public void setProxyExcludedDomains(List<DomainMatcher> proxyExcludedDomains) {
          if (proxyExcludedDomains == null || proxyExcludedDomains.isEmpty()) {
              ((HierarchicalConfiguration) getConfig()).clearTree(ALL_PROXY_EXCLUDED_DOMAINS_KEY);
  
              this.proxyExcludedDomains = Collections.emptyList();
              this.proxyExcludedDomainsEnabled = Collections.emptyList();
              return;
          }
  
          this.proxyExcludedDomains = new ArrayList<>(proxyExcludedDomains);
  
          ((HierarchicalConfiguration) getConfig()).clearTree(ALL_PROXY_EXCLUDED_DOMAINS_KEY);
  
          int size = proxyExcludedDomains.size();
          ArrayList<DomainMatcher> enabledExcludedDomains = new ArrayList<>(size);
          for (int i = 0; i < size; ++i) {
              String elementBaseKey = ALL_PROXY_EXCLUDED_DOMAINS_KEY + "(" + i + ").";
              DomainMatcher excludedDomain = proxyExcludedDomains.get(i);
  
              getConfig().setProperty(elementBaseKey + PROXY_EXCLUDED_DOMAIN_VALUE_KEY, excludedDomain.getValue());
              getConfig().setProperty(elementBaseKey + PROXY_EXCLUDED_DOMAIN_REGEX_KEY, excludedDomain.isRegex());
              getConfig().setProperty(elementBaseKey + PROXY_EXCLUDED_DOMAIN_ENABLED_KEY, excludedDomain.isEnabled());
  
              if (excludedDomain.isEnabled()) {
                  enabledExcludedDomains.add(excludedDomain);
              }
          }
  
          enabledExcludedDomains.trimToSize();
          this.proxyExcludedDomainsEnabled = enabledExcludedDomains;
      }