List<T> (final @NotNull AnActionEvent e) { if (myConfirmation != null && !myConfirmation.value((List<T>)Arrays.asList(myList.getSelectedValues()))) { return Collections.emptyList(); } return ListUtil.removeSelectedItems(myList, myEnableCondition); }