public void setAutoDetectedPath(@Nullable @NlsSafe String autoDetectedPath) {
    StatusText emptyText = ((JBTextField)myPathSelector.getTextField()).getEmptyText();
    emptyText.setText(autoDetectedPath != null ? VcsBundle.message("settings.auto.detected") + autoDetectedPath :
                      VcsBundle.message("settings.auto.detected.progress"));

    myAutoDetectedPath = autoDetectedPath;
    updateTestButtonAvailability();
  }
public void setAutoDetectedPath(@Nullable @NlsSafe String autoDetectedPath)