int (XDebuggerTreeNode node) { int index = myChildren.indexOf(node); if (index != -1) { myChildren.remove(node); fireNodesRemoved(new int[]{index + headerNodesCount()}, new TreeNode[]{node}); } return index; }