@ApiStatus.Obsolete
  public static <T> T invokeAndWaitIfNeeded(@NotNull Computable<T> computable) {
    final Ref<T> result = Ref.create();
    EdtInvocationManager.invokeAndWaitIfNeeded(() -> result.set(computable.compute()));
    return result.get();
  }
@ApiStatus.Obsolete
  public static <T> T invokeAndWaitIfNeeded(@NotNull Computable<T> computable)