Promise<Void> (@NotNull Module from, @NotNull Library library, @NotNull DependencyScope scope, boolean exported) { for (JavaProjectModelModifier modifier : getModelModifiers()) { Promise<Void> promise = modifier.addLibraryDependency(from, library, scope, exported); if (promise != null) { return promise; } } return Promises.rejectedPromise(); }