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