@Override
	public AddressRange intersectRange(Address start, Address end) {
		if (start.compareTo(end) > 0) {
			Address tmp = start;
			start = end;
			end = tmp;
		}
		Address min = minAddress.compareTo(start) >= 0 ? minAddress : start;
		Address max = maxAddress.compareTo(end) <= 0 ? maxAddress : end;

		if (min.compareTo(max) <= 0) {
			return new AddressRangeImpl(min, max);
		}
		return null;
	}
@see ghidra.program.model.address.AddressRange#intersectRange(ghidra.program.model.address.Address, ghidra.program.model.address.Address)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressRangeImpl.java