void (@NotNull S settings) { settings.setModules(myInitialSettings.getModules()); if (myInitialSettings.getExternalProjectPath() != null) { settings.setExternalProjectPath(myInitialSettings.getExternalProjectPath()); } applyExtraSettings(settings); }