void (@NotNull LibraryData libraryData, @NotNull String libraryName, @NotNull Library.ModifiableModel libraryModel) { Map<OrderRootType, Collection<File>> libraryFiles = prepareLibraryFiles(libraryData); Set<String> excludedPaths = libraryData.getPaths(LibraryPathType.EXCLUDED); registerPaths(libraryData.isUnresolved(), libraryFiles, excludedPaths, libraryModel, libraryName); EP_NAME.forEachExtensionSafe(extension -> extension.prepareNewLibrary(libraryData, libraryModel)); }