List<PluginNode> (@Nullable ProgressIndicator indicator) { var ids = new HashSet<PluginId>(); var result = new ArrayList<PluginNode>(); for (var host : getPluginHosts()) { if (host == null) continue; try { var plugins = loadPlugins(host, null, indicator); for (var plugin : plugins) { if (ids.add(plugin.getPluginId())) { result.add(plugin); } } } catch (IOException e) { LOG.info("Couldn't load plugins from " + host + ": " + e); LOG.debug(e); } } return result; }