public @Nullable List<Module> commit(@NotNull Project project, @Nullable ModifiableModuleModel model) {
    return commit(project, model, DefaultModulesProvider.createForProject(project));
  }
public @Nullable List<Module> commit(@NotNull Project project, @Nullable ModifiableModuleModel model)