void (@NotNull Project project, @NotNull List<? extends Module> modules, @NotNull Function<? super Module, String> oldNameProvider) { for (Module module : modules) { moduleRemoved(project, module); } }