private static @Nullable WSLDistribution findWSLDistribution(@Nullable Sdk sdk) {
    if (sdk != null && sdk.getSdkType() instanceof JavaSdkType projectJdkType) {
      String windowsUncPath = projectJdkType.getVMExecutablePath(sdk);
      if (windowsUncPath != null) {
        return WslPath.getDistributionByWindowsUncPath(windowsUncPath);
      }
    }
    return null;
  }
private static @Nullable WSLDistribution findWSLDistribution(@Nullable Sdk sdk)