public final GTreeNode getParent() {
		GTreeNode localParent = parent;

		// Do not return the GTree's fake root node parent.  From the client's perspective,
		// this node does not exist.		
		if (localParent instanceof GTreeRootParentNode) {
			return null;
		}
		return localParent;
	}
Returns the parent of this node.

Note: this method is deliberately not synchronized (See comments above)
@return the parent of this node.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/CoreGTreeNode.java