docs: private static List<UberData> extractLinks(RepresentationModel<?> resource) {
  
  		List<UberData> data = new ArrayList<>();
  
  		List<UberData> links = extractLinks(resource.getLinks());
  		List<UberData> affordanceBasedLinks = extractAffordances(resource.getLinks());
  
  		if (affordanceBasedLinks.isEmpty()) {
  			data.addAll(links);
  		} else {
  			data.addAll(mergeDeclaredLinksIntoAffordanceLinks(affordanceBasedLinks, links));
  		}
  
  		return data;
  	}