private void markRange(long start, long end, Object obj) {
        if (start == end) {
            objMarkers.putObject(start, new Mark(obj, Mark.SINGLE));
        } else {
            objMarkers.putObject(start, new Mark(obj, Mark.START));
            objMarkers.putObject(end, new Mark(obj, Mark.END));
        }
    }
Adds a range to a object.
Assumes that the range has already been cleared.

@param range the range being added.
@param objID the id of the object the range is being
added to.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressObjectMap.java