private void removeFragment(FragmentDB frag) {
		// remove frag from all of its parents
		ProgramModule[] parents = frag.getParents();
		for (ProgramModule parent : parents) {
			try {
				parent.removeChild(frag.getName());
			}
			catch (NotEmptyException e) {
				throw new AssertException("Should have removed " + frag.getName());
			}
		}
		fragCache.delete(frag.getKey());
	}
Move code units in the range to the destination fragment.
@param destFrag destination fragment
@param min min address
@param max max address
@throws NotFoundException if address range not fully contained within program memory
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleManager.java