public int getIndexOfChild(GTreeNode node) {
		return children().indexOf(node);
	}
Returns the index of the given node within this node. -1 is returned if the node is not a
child of this node.

@param node whose index we want
@return the index of the given node within this node
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTreeNode.java