void (@NotNull AnActionEvent e, @NotNull XDebuggerTree tree, @NotNull XWatchesView watchesView) { List<? extends WatchNodeImpl>nodes = getSelectedNodes(tree, WatchNodeImpl.class); watchesView.removeWatches(nodes); }