Collection<SyntheticLibrary> (@NotNull Project project) { ArrayList<SyntheticLibrary> result = new ArrayList<>(); addLibrary(result, libraryRootsNoId, null); addLibrary(result, libraryRootsId1, "ID1"); addLibrary(result, libraryRootsId2, "ID2"); return result; }