@SuppressWarnings("RedundantThrows")
  @Deprecated(forRemoval = true)
  public static void runOrInvokeAndWait(@NotNull Runnable runnable) throws InvocationTargetException, InterruptedException {
    ApplicationManager.getApplication().invokeAndWait(runnable);
  }
@SuppressWarnings("RedundantThrows")
  @Deprecated(forRemoval = true)
  public static void runOrInvokeAndWait(@NotNull Runnable runnable)