private @Nullable Sdk resolveSdkByName(@NotNull String sdkName) {
    var gradleJvm = lookupGradleJvm(sdkName);
    if (gradleJvm != null) {
      return gradleJvm;
    }
    return lookupJdkByName(sdkName);
  }
private @Nullable Sdk resolveSdkByName(@NotNull String sdkName)