public void setShortenCommandLine(@Nullable ShortenCommandLine mode, @Nullable Project project) {
    if (mode == null) {
      Sdk jdk = getJdk();
      mode = ShortenCommandLine.getDefaultMethod(project, jdk != null ? jdk.getHomePath() : null);
    }
    setShortenCommandLine(mode);
  }
public void setShortenCommandLine(@Nullable ShortenCommandLine mode, @Nullable Project project)