@Override
	public void setPlatform(TracePlatform platform) {
		if (!(platform instanceof InternalTracePlatform iPlatform) ||
			platform.getTrace() != trace) {
			throw new IllegalArgumentException("Platform is not in this trace");
		}
		this.platform = iPlatform;
	}
TODO

NOTE: Calling {@link CodeUnit#getProgram()} from units contained in this view does not return
this same view. Instead, it returns the (fixed-snap) view for the unit's snap.
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/program/DBTraceVariableSnapProgramView.java