private void createCompositeStructure(Program p) throws Exception {
		StructureDataType structureDataType =
			new StructureDataType("NESTED_STRUCTURE", nestedStructureLength);
		createNestedStructures(p, structureDataType, 1, nestedStructureLength - 1);

		Address addr = addr(Long.parseLong(NESTED_STRUCTURE_DATA_ADDRESS, 16));
		CreateDataCmd createDataCommand = new CreateDataCmd(addr, structureDataType);
		assertTrue("Unable to apply data type at address: " + addr, applyCmd(p, createDataCommand));
	}
Function that will create a composite structure that contains nested structures
Once the function is made the function will call {@link #createNestedStructures(StructureDataType, int, int)}
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/scalartable/ScalarSearchTest.java