List<VirtualFile> () { List<VirtualFile> result = new ArrayList<>(getFileToModuleMapping(new MavenDefaultModelsProvider(myProject)).keySet()); MavenUtil.streamPomFiles(myProject, myProject.getBaseDir()).forEach(result::add); return result; }