src/main/java/com/googlecode/objectify/impl/ForwardPath.java
public static ForwardPath of(Path path) {
		ForwardPath next = new ForwardPath(path);
		if (path.getPrevious() == Path.root())
			return next;
		
		ForwardPath previous = of(path.getPrevious());
		previous.next = next;
		
		return previous;
	}
public static ForwardPath of(Path path) {
		ForwardPath next = new ForwardPath(path);
		if (path.getPrevious() == Path.root())
			return next;
		
		ForwardPath previous = of(path.getPrevious());
		previous.next = next;
		
		return previous;
	}
public static ForwardPath of ( Path path ) { ForwardPath next = new ForwardPath ( path ) ; if ( path . getPrevious ( ) == Path . root ( ) ) return next ; ForwardPath previous = of ( path . getPrevious ( ) ) ; previous . next = next ; return previous ; }
Recursive method which reverses the path into a ForwardPath.
@param path cannot be the root path.
Recursive method which reverses the path into a ForwardPath .