@Deprecated(forRemoval = true)
  protected final void registerActions(@Nullable ActionManager actionManager) {
    if (actionManager instanceof ActionManagerEx managerEx) {
      registerActions(managerEx.asActionRuntimeRegistrar());
    }
  }
@Deprecated(forRemoval = true)
  protected final void registerActions(@Nullable ActionManager actionManager)