List<AnAction> (@NotNull List<? extends AnAction> actions, @NotNull DataContext context) { return ContainerUtil.findAll(actions, a -> a instanceof JavaMethodOverloadSwitchUpAction || a instanceof JavaMethodOverloadSwitchDownAction); }