void (@NotNull Module from, @NotNull Module to, @NotNull DependencyScope scope, boolean exported) { updateModel(from, model -> { ModuleOrderEntry entry = model.addModuleOrderEntry(to); entry.setScope(scope); entry.setExported(exported); }); }