List<ArrangementEntryDependencyInfo> () { if (myRebuildMethodDependencies) { myMethodDependencyRoots.clear(); Map<PsiMethod, ArrangementEntryDependencyInfo> cache = new HashMap<>(); for (PsiMethod method : myTmpMethodDependencyRoots) { ArrangementEntryDependencyInfo info = buildMethodDependencyInfo(method, cache); if (info != null) { myMethodDependencyRoots.add(info); } } myRebuildMethodDependencies = false; } return myMethodDependencyRoots; }