@ApiStatus.Internal
  public final boolean isSameOrGeneralFor(UiActivity other) {
    if (myElements.size() > other.myElements.size()) return false;

    for (int i = 0; i < myElements.size(); i++) {
      if (!myElements.get(i).equals(other.myElements.get(i))) return false;
    }

    return true;
  }
@ApiStatus.Internal
  public final boolean isSameOrGeneralFor(UiActivity other)