public static AnAction @NotNull [] getChildren(@Nullable AnActionEvent e,
                                                 @NotNull ActionGroup wrapper,
                                                 @NotNull ActionGroup delegate) {
    if (e == null) return delegate.getChildren(null);
    UpdateSession session = e.getUpdateSession();
    AnActionEvent event = customizeEvent(e, wrapper);
    return session == UpdateSession.EMPTY || e != event ? delegate.getChildren(event) :
           session.children(delegate).toArray(AnAction.EMPTY_ARRAY);
  }
public static AnAction @NotNull [] getChildren(@Nullable AnActionEvent e,
                                                 @NotNull ActionGroup wrapper,
                                                 @NotNull ActionGroup delegate)