private VTMatch getAssociationMatchFromMatchSet(VTAssociation association,
			VTMatchSet matchSet, TaskMonitor monitor) throws CancelledException {

		List<VTMatch> assocMatchesInMatchSet = new ArrayList<VTMatch>();

		List<VTMatch> assocationMatches = session.getMatches(association);
		Collection<VTMatch> matchSetMatches = matchSet.getMatches();

		for (VTMatch match : assocationMatches) {
			monitor.checkCancelled();

			if (matchSetMatches.contains(match)) {
				assocMatchesInMatchSet.add(match);
			}

		}

		if (assocMatchesInMatchSet.size() == 1) {
			return assocMatchesInMatchSet.get(0);
		}

		Msg.error(this,
			"Expected single match in matchset for association " + association.toString());

		return null;
	}
Given an association, get the VTMatch from the given matchSet (ie set of matches from a 
particular correlator). There may be multiple correlators that have found the same match. 
This is making sure the match is from the desired correlator.
@param association the given association
@param matchSet the given correlator matchSet
@param monitor the task monitor
@return the match with same source and destination addresss as the given association from the
given correlator's set of matches.
@throws CancelledException if cancelled
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/AutoVersionTrackingTask.java