docs: private static List<CollectionJsonQuery> findQueries(RepresentationModel<?> resource) {
  
  		if (!resource.hasLink(IanaLinkRelations.SELF)) {
  			return Collections.emptyList();
  		}
  
  		Link selfLink = resource.getRequiredLink(IanaLinkRelations.SELF);
  
  		return selfLink.getAffordances().stream() //
  				.map(it -> it.getAffordanceModel(MediaTypes.COLLECTION_JSON)) //
  				.map(CollectionJsonAffordanceModel.class::cast) //
  				.filter(it -> !it.hasHttpMethod(HttpMethod.GET)) //
  				.filter(it -> !it.pointsToTargetOf(selfLink)) //
  				.map(it -> new CollectionJsonQuery() //
  						.withRel(it.getName()) //
  						.withHref(it.getURI()) //
  						.withData(it.getQueryProperties())) //
  				.collect(Collectors.toList());
  	}