@NlsSafe
  public String suggestBetterGradleHomePath(@Nullable Project project, @NotNull String homePath) {
    Path path = Paths.get(homePath);
    if (path.startsWith(BREW_GRADLE_LOCATION)) {
      Path libexecPath = path.resolve(LIBEXEC);
      File libexecFile = libexecPath.toFile();
      if (isGradleSdkHome(project, libexecFile)) {
        return libexecPath.toString();
      }
    }
    return null;
  }
@NlsSafe
  public String suggestBetterGradleHomePath(@Nullable Project project, @NotNull String homePath)