List<AnAction> () { List<AnAction> result = new ArrayList<>(); result.add(ActionManager.getInstance().getAction("CompareClipboardWithSelection")); result.add(Separator.getInstance()); ContainerUtil.addAll(result, ActionManager.getInstance().getAction(IdeActions.GROUP_DIFF_EDITOR_POPUP)); return result; }