public KeyPath extend(KeyPath sub) {
		return extend(sub.keys);
	}
Create a new path by appending the given list of keys

<p>
For example, if this path is "{@code Processes[2]}" and {@code sub} takes the value
"{@code Threads[0]}", the result will be "{@code Processes[2].Threads[0]}".

@param sub the path to append
@return the resulting path
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/KeyPath.java