List<AnAction> (@NotNull List<? extends AnAction> actions, @NotNull DataContext context) { if (AbstractTestProxy.DATA_KEY.getData(context) != null) { for (AnAction action : actions) { if (action instanceof TestTreeViewAction) { return Collections.singletonList(action); } } } return Collections.emptyList(); }