void (@NotNull Tree tree, @NotNull List<TaintNode> roots) { DefaultActionGroup actionGroup = new DefaultActionGroup(); for (TaintNode root : roots) { if (root.myTaintValue != TaintValue.TAINTED && mySupportRefactoring) { actionGroup.addAll(createIncludeExcludeActions(tree)); } } actionGroup.add(ActionManager.getInstance().getAction(IdeActions.ACTION_EDIT_SOURCE)); PopupHandler.installPopupMenu(tree, actionGroup, "PropagateAnnotationPanelPopup"); }