@SuppressWarnings("unchecked")
	private void collectFragmentRanges(Set<AddressRange> set, Map<String, Object> fragment)
			throws AddressFormatException {
		List<Map<String, Object>> ranges = (List<Map<String, Object>>) fragment.get("ranges");
		for (Map<String, Object> r : ranges) {
			if (monitor.isCancelled()) {
				break;
			}
			String startStr = (String) r.get("start");
			String endStr = (String) r.get("end");

			Address start = parseAddress(factory, startStr);
			Address end = parseAddress(factory, endStr);

			if (start == null || end == null) {
				throw new AddressFormatException(
					"Incompatible Fragment Address Range: [" + startStr + "," + endStr + "]");
			}

			set.add(new AddressRangeImpl(start, end));
		}
	}
Constructor

@param program program
@param log     message log
Ghidra/Features/Sarif/src/main/java/sarif/managers/ProgramTreeSarifMgr.java