void (@NotNull Module module, boolean newProject) { List<PyDefaultProjectAwareServiceModuleConfigurator> configurators = Arrays.asList( TestRunnerService.getConfigurator(), PyDocumentationSettings.getConfigurator(), ReSTService.getConfigurator(), PyPackageRequirementsSettings.getConfigurator()); for (PyDefaultProjectAwareServiceModuleConfigurator configurator : configurators) { configurator.configureModule(module, newProject); } }