List<VirtualFile> (MavenProject mavenProject, Collection<MavenProject> prevChildren) { var children = new HashSet<>(prevChildren); children.removeAll(updateContext.getDeletedProjects()); children.addAll(tree.findInheritors(mavenProject)); return ContainerUtil.map(children, child -> child.getFile()); }