public List<DataTypeSyncInfo> findAssociatedDataTypes() {
		List<DataType> dataTypes = dataTypeManager.getDataTypes(sourceArchive);

		List<DataTypeSyncInfo> dataTypeSyncInfo = new ArrayList<>();
		for (DataType dt : dataTypes) {
			dataTypeSyncInfo.add(new DataTypeSyncInfo(dt, sourceDTM));
		}
		return dataTypeSyncInfo;
	}
Creates a DataTypeSynchronizer to be used for synchronizing data types between a program
and an archive.
@param dataTypeManagerHandler the handler that manages all the open data type managers
whether built-in, program, project data type archive or file data type archive.
@param dataTypeManager the program data type manager.
@param source the data type source archive information indicating the associated archive for
synchronizing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/DataTypeSynchronizer.java