public void createFragment(String treeName, String modulePath, String fragmentName,
			String startAddr, String endAddr) throws Exception {
		tx(() -> {
			ProgramModule module = getOrCreateModule(treeName, modulePath);
			ProgramFragment fragment = module.createFragment(fragmentName);
			fragment.move(addr(startAddr), addr(endAddr));
		});
	}
Creates a sting data type instance at the specified address, repeated {@code N} times.

@param addressString address.
@param dt {@link AbstractStringDataType} string type to place at address.
@param n repeat count.
Ghidra/Features/Base/src/main/java/ghidra/program/database/ProgramBuilder.java