private static @Nullable String getRunnerPath() {
    if (!SystemInfo.isWindows) {
      throw new IllegalStateException("There is no need of runner under unix based OS");
    }

    String path = System.getenv(IDEA_RUNNERW);
    if (path != null) {
      if (new File(path).exists()) {
        return path;
      }
      LOG.warn("Cannot locate a runner at " + path + " (as told by " + IDEA_RUNNERW + ')');
    }

    Path runnerw = PathManager.findBinFile(RUNNERW);
    if (runnerw != null && Files.exists(runnerw)) {
      return runnerw.toString();
    }
    LOG.warn("Cannot locate " + RUNNERW + " in " + PathManager.getBinPath());

    return null;
  }
private static @Nullable String getRunnerPath()