private static void collectComposites(Composite composite, Set<Composite> collection) {
		for (DataTypeComponent c : composite.getDefinedComponents()) {
			DataType dt = c.getDataType();
			if (dt instanceof Composite) {
				Composite childComposite = (Composite) dt;
				collection.add(childComposite);
				collectComposites(childComposite, collection);
			}
		}
	}
Dump composite details for examination or test comparison.
@param dt composite datatype
@param recursive if true all child composites will also be dumped recursively
@return dump string
Ghidra/Framework/SoftwareModeling/src/test/java/ghidra/program/model/data/CompositeTestUtils.java