descendantSegments

Returns this path's structural suffix after after, or null when after is not its ancestor.

An empty list means both paths identify the same location. This is intended for advanced path-inspection APIs; ordinary code should keep using typed KeyPath composition.