List<String> () { return ReadAction.compute(() -> { List<String> result = new ArrayList<>(); LibraryTable libraryTable = LibraryTablesRegistrar.getInstance().getLibraryTable(myProject); for (String libraryName : myState.myProjectLibraries) { Library library = libraryTable.getLibraryByName(libraryName); if (library == null) { LOG.warn("Unknown project library in BuildProcessCustomPluginsConfiguration: " + libraryName); continue; } for (VirtualFile file : library.getFiles(OrderRootType.CLASSES)) { result.add(VfsUtilCore.virtualToIoFile(file).getAbsolutePath()); } } return result; }); }