void (@NotNull Module module, @NotNull Library library, @NotNull DependencyScope scope, boolean exported) { updateModel(module, model -> { LibraryOrderEntry entry = model.addLibraryEntry(library); entry.setExported(exported); entry.setScope(scope); }); }