void (ModifiableRootModel model, final LibraryCompositionSettings settings) { if (myBeforeLibraryAdded != null) { myBeforeLibraryAdded.run(model); } settings.addLibraries(model, myAddedLibraries, myLibrariesContainer); }