private static boolean useArgsFile(@NotNull JavaParameters res) {
    Sdk jdk = res.getJdk();
    if (jdk == null) {
      return false;
    }
    String rootPath = jdk.getHomePath();
    if (rootPath == null) {
      return false;
    }
    return JdkUtil.isModularRuntime(rootPath);
  }
private static boolean useArgsFile(@NotNull JavaParameters res)