private void processFragment(ProgramModule parent, Map<String, Object> fragment) {
		String name = (String) fragment.get("name");
		ProgramFragment frag = null;
		try {
			frag = parent.createFragment(name);
		} catch (DuplicateNameException dne) {
			frag = listing.getFragment(parent.getTreeName(), name);
			try {
				parent.add(frag);
			} catch (DuplicateGroupException dge) {
				// ignore, we are trying to add a fragment to
				// a module that already contains it
			}
		}
		try {
			processFragmentRange(fragment, frag);
		} catch (NotFoundException e) {
			log.appendMsg(e.getMessage());
		} catch (Exception e) {
			log.appendException(e);
		}
	}
Constructor

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