docs: protected List<Reference> mergeReferences(
  			List<? extends Reference> references1,
  			List<? extends Reference> references2) {
  		List<Reference> result = new ArrayList<>();
  		for (Reference reference : references1) {
  			addBestReferenceToList(reference, result);
  		}
  		for (Reference reference : references2) {
  			addBestReferenceToList(reference, result);
  		}
  		return result;
  	}