private void renameFragment(Program program, Address blockStartAddr) {
		Listing listing = program.getListing();
		String[] treeNames = listing.getTreeNames();
		for (String treeName : treeNames) {
			ProgramFragment frag = listing.getFragment(treeName, blockStartAddr);
			renameFragment(frag, name);
		}
	}
Prior to command execution the block's artificial attribute state may be specified
and will be applied to the new memory block.
@param a block artificial attribute state
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AbstractAddMemoryBlockCmd.java