public static Object @NotNull [] getCurrentModalEntities() {
    ThreadingAssertions.assertEventDispatchThread();
    return ArrayUtil.toObjectArray(ourModalEntities);
  }
public static Object @NotNull [] getCurrentModalEntities()