public final @NotNull ActionInGroup addAction(@NotNull AnAction action, @NotNull Constraints constraint) {
    return addAction(action, constraint, ActionManager.getInstance());
  }
public final @NotNull ActionInGroup addAction(@NotNull AnAction action, @NotNull Constraints constraint)