public void setUseDynamicClasspath(@Nullable Project project) {
    Sdk jdk = getJdk();
    ShortenCommandLine mode = myArgFile || myUseClasspathJar || myClasspathFile
                              ? ShortenCommandLine.getDefaultMethod(project, jdk != null ? jdk.getHomePath() : null)
                              : ShortenCommandLine.NONE;  // explicitly disabled in the UI
    setShortenCommandLine(mode, project);
  }
public void setUseDynamicClasspath(@Nullable Project project)