private void addRefs(Program p, ReferenceManager refMgr, List<Reference> refs) {
		for (Reference ref : refs) {
			refMgr.addReference(ref);
		}
	}
Creates a new structure by using the provided structure and attaching
it to the program passed in the {@link #applyTo(Program)} method.

@param newStructure The new structure to attach to the program 
       provided in the {@link #applyTo(Program)} method.
@param address the address at which to create the new structure.
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/data/CreateStructureCmd.java