public void addObject(Object obj, AddressSetView set) {
        // map the obj into a new index

        // iterate through ranges defined for obj
        AddressRangeIterator iter = set.getAddressRanges();
        while (iter.hasNext()) {
            AddressRange range = iter.next();
            addObject(obj, range.getMinAddress(), range.getMaxAddress());
        }
    }
Associates the given object with the given set of addresses
@param obj the object to associate
@param set the set of address to be associated with the object.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressObjectMap.java