void (Collection<InlineWatch> watches) { InlineWatchesRootNode rootNode = (InlineWatchesRootNode)myRootNode; @SuppressWarnings("unchecked") List<? extends XDebuggerTreeNode> nodesToRemove = (List<? extends XDebuggerTreeNode>)ContainerUtil.filter(rootNode.getInlineWatchChildren(), node -> watches.contains(node.getWatch())); if (!nodesToRemove.isEmpty()) { removeInlineNodes(nodesToRemove, false); } }