private static @Nullable PythonSdkFlavor<?> computeFlavor(@Nullable String sdkPath) {
    if (sdkPath != null) {
      for (var flavor : getApplicableFlavors(sdkPath.contains("\\"))) {
        if (flavor.isValidSdkPath(new File(sdkPath))) {
          return flavor;
        }
      }
    }
    return null;
  }
private static @Nullable PythonSdkFlavor<?> computeFlavor(@Nullable String sdkPath)