List<VirtualFile> (final @NotNull ModuleRootModel rootModel) { final ArrayList<VirtualFile> roots = new ArrayList<>(); rootModel.orderEntries().using(myContext.getModulesProvider()).recursively().librariesOnly().forEachLibrary(library -> { ContainerUtil.addAll(roots, myContext.getLibrariesContainer().getLibraryFiles(library, OrderRootType.CLASSES)); return true; }); return roots; }