NewLibraryConfiguration (RepositoryLibraryProperties props, Collection<? extends OrderRoot> roots) { return new NewLibraryConfiguration( suggestLibraryName(props), RepositoryLibraryType.getInstance(), props) { @Override public void addRoots(@NotNull LibraryEditor editor) { editor.addRoots(roots); } }; }