void () { List<MavenProject> projects = getProjectsManager().getProjects(); Set<MavenProject> deleted = new HashSet<>(myProjectToNodeMapping.keySet()); deleted.removeAll(projects); updateProjects(projects, deleted); }