protected static <T> T replaceIfNotNull(T cur, T rep) {
		return rep != null ? rep : cur;
	}
The implementation of {@link TraceCodeSpace#instructions()}
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/DBTraceInstructionsView.java