@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
    ActionGroup delegate = getDelegate();
    int currentSchemaStamp = CustomActionsSchema.getInstance().getModificationStamp();
    int currentGroupStamp = !ActionUpdaterInterceptor.Companion.treatDefaultActionGroupAsDynamic() &&
                            delegate instanceof DefaultActionGroup group ? group.getModificationStamp() : -1;
    if (mySchemeModificationStamp < currentSchemaStamp ||
        myGroupModificationStamp < currentGroupStamp ||
        currentGroupStamp < 0 ||
        ArrayUtil.isEmpty(myChildren) ||
        delegate instanceof DynamicActionGroup) {
      AnAction[] originalChildren = super.getChildren(e);
      myChildren = CustomizationUtil.getReordableChildren(
        delegate, originalChildren, mySchema, myDefaultGroupName, myRootGroupName);
      mySchemeModificationStamp = currentSchemaStamp;
      myGroupModificationStamp = currentGroupStamp;
    }
    return myChildren;
  }
@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)