int (XDebuggerTreeNode node) { if (node instanceof InlineWatchNodeImpl) { List<? extends InlineWatchNode> children = getInlineWatchChildren(); int index = children.indexOf(node); if (index != -1) { children.remove(node); inlineNodesRemoved(new int[]{index}, new TreeNode[]{node}); } if (children.isEmpty()) { allChildrenRemoved(); } return index; } else { return super.removeChildNode(node); } }