@ApiStatus.Internal
  public static @Nullable Path getUserOptionsFile() {
    String vmOptionsFile = System.getProperty("jb.vmOptionsFile");
    if (vmOptionsFile == null) {
      // launchers should specify a path to a VM options file used to configure a JVM
      return null;
    }

    Path candidate = Path.of(vmOptionsFile).toAbsolutePath();
    if (!PathManager.isUnderHomeDirectory(candidate)) {
      // a file is located outside the IDE installation - meaning it is safe to overwrite
      return candidate;
    }

    String location = PathManager.getCustomOptionsDirectory();
    if (location == null) {
      return null;
    }

    return Path.of(location, getFileName());
  }
@ApiStatus.Internal
  public static @Nullable Path getUserOptionsFile()