@Override
	public Address getMaxAddress() {
		validate(lock);
		if (endAddr == null) {
			endAddr = getLength() == 0 ? address : address.add(getLength() - 1);
		}
		return endAddr;
	}
@see ghidra.program.model.listing.CodeUnit#addOperandReference(int,
     ghidra.program.model.address.Address,
     ghidra.program.model.symbol.RefType, SourceType)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeUnitDB.java