@ApiStatus.Internal
  public void performUserActivity(Runnable activity) {
    ThreadingAssertions.assertEventDispatchThread();
    performActivity(true, activity);
  }
@ApiStatus.Internal
  public void performUserActivity(Runnable activity)