@SuppressWarnings("MethodOverridesStaticMethodOfSuperclass")
  @RequiresBlockingContext
  public static void checkCanceled() throws ProcessCanceledException {
    ProgressManager instance = getInstanceOrNull();
    if (instance != null) {
      instance.doCheckCanceled();
    }
  }
@SuppressWarnings("MethodOverridesStaticMethodOfSuperclass")
  @RequiresBlockingContext
  public static void checkCanceled()