else
{
InternalEObject internalEObject = (InternalEObject)eObject;
List<String> uriFragmentPath = new ArrayList<String>();
HashSet<InternalEObject> visited = new HashSet<InternalEObject>();
for (InternalEObject container = internalEObject.eInternalContainer(); container != null && visited.add(container); container = internalEObject.eInternalContainer())
{
uriFragmentPath.add(container.eURIFragmentSegment(internalEObject.eContainingFeature(), internalEObject));
internalEObject = container;
}