void () { File localRepository = getProjectsManager().getLocalRepository(); List<PluginNode> pluginInfos = new ArrayList<>(); Iterator<MavenPlugin> iterator = myPlugins.iterator(); while(!isUnloading && iterator.hasNext()){ MavenPlugin next = iterator.next(); var pluginInfo = MavenArtifactUtil.readPluginInfo(localRepository, next.getMavenId()); var pluginNode = new PluginNode(MavenProjectsStructure.this, myParentNode, next, pluginInfo); pluginInfos.add(pluginNode); } updateNodesInEDT(pluginInfos); }