Returns the root of the target plus the path from the root to get to the target.
Target object.
T Root object type.
Returns the root of the target plus the path from the root to get to the target.