Is there a way to get the current node name (or the entire chain) for a Path instance? As far as I can tell, there is no method within Path to do so. I tried the toString() method, but that is not overridden in EclipseLink (it gets you the default output: org.eclipse...PathImpl@331a119a).
I'm using EclipseLink, so a EclipseLink specific solution is fine with me.