public static @NotNull List<@Nullable String> getPluginHosts() {
    var hosts = new ArrayList<>(UpdateSettings.getInstance().getPluginHosts());

    var pluginHosts = System.getProperty("idea.plugin.hosts");
    if (pluginHosts != null) {
      ContainerUtil.addAll(hosts, pluginHosts.split(";"));
    }

    hosts.addAll(UpdateSettingsProvider.getRepositoriesFromProviders());

    @SuppressWarnings("deprecation") var pluginsUrl = ApplicationInfoEx.getInstanceEx().getBuiltinPluginsUrl();
    if (pluginsUrl != null && !"__BUILTIN_PLUGINS_URL__".equals(pluginsUrl)) {
      hosts.add(pluginsUrl);
    }

    pluginsUrl = System.getProperty(CUSTOM_BUILT_IN_PLUGIN_REPOSITORY_PROPERTY);
    if (pluginsUrl != null) {
      hosts.add(pluginsUrl);
    }

    ContainerUtil.removeDuplicates(hosts);

    hosts.add(null);  // main plugin repository

    return hosts;
  }
public static @NotNull List<@Nullable String> getPluginHosts()