@ApiStatus.Obsolete
  public static void invokeAndWaitIfNeeded(@NotNull Runnable runnable) {
    EdtInvocationManager.invokeAndWaitIfNeeded(runnable);
  }
@ApiStatus.Obsolete
  public static void invokeAndWaitIfNeeded(@NotNull Runnable runnable)