@Override
  public void apply(@NotNull GradleSettings settings) {
    if (myServiceDirectoryPathField != null) {
      String serviceDirectoryPath = trimIfPossible(myServiceDirectoryPathField.getLocalPath());
      settings.setServiceDirectoryPath(ExternalSystemApiUtil.normalizePath(serviceDirectoryPath));
    }
    if (myGradleVmOptionsField != null) {
      settings.setGradleVmOptions(trimIfPossible(myGradleVmOptionsField.getText()));
    }
    if (myGenerateImlFilesCheckBox != null) {
      settings.setStoreProjectFilesExternally(!myGenerateImlFilesCheckBox.isSelected());
    }
    if (myParallelModelFetchCheckBox != null) {
      if (settings.isParallelModelFetch() != myParallelModelFetchCheckBox.isSelected()) {
        GradleActionsUsagesCollector.TOGGLE_PARALLEL_FETCH.log(settings.getProject(), myParallelModelFetchCheckBox.isSelected());
      }
      settings.setParallelModelFetch(myParallelModelFetchCheckBox.isSelected());
    }
    myDefaultProjectSettingsControl.apply();
  }
@Override
  public void apply(@NotNull GradleSettings settings)