IJPL-950 Action System: add ApiStatus.OverrideOnly in relevant API

GitOrigin-RevId: 41f2177555171b329c10bc491db32fd3c1f5e167
This commit is contained in:
Yann Cébron
2024-04-02 16:33:21 +00:00
committed by intellij-monorepo-bot
parent 1bd9e5012b
commit 11c0047661
2 changed files with 3 additions and 1 deletions
@@ -1,4 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.actionSystem;
import org.jetbrains.annotations.ApiStatus;
@@ -119,6 +119,7 @@ public abstract class ActionGroup extends AnAction {
*
* @see #getActionUpdateThread()
*/
@ApiStatus.OverrideOnly
public abstract AnAction @NotNull [] getChildren(@Nullable AnActionEvent e);
public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e, @NotNull ActionManager actionManager) {
@@ -320,6 +320,7 @@ public abstract class AnAction implements PossiblyDumbAware, ActionUpdateThreadA
*
* @see #getActionUpdateThread()
*/
@ApiStatus.OverrideOnly
public void update(@NotNull AnActionEvent e) {
}