private List<String> getProgramParams(File tempFile, JpsGroovySettings settings, boolean forStubs) {
    List<String> programParams = List.of(myOptimizeClassLoading ? GroovyRtConstants.OPTIMIZE : "do_not_optimize",
                                                              forStubs ? "stubs" : "groovyc",
                                                            tempFile.getPath());
    if (settings.invokeDynamic) {
      programParams = ContainerUtil.append(programParams, "--indy");
    }
    return programParams;
  }
private List<String> getProgramParams(File tempFile, JpsGroovySettings settings, boolean forStubs)