code: public Link linkToItemResource(T entity) {
  		return entityLinks.linkToItemResource(entity.getClass(), identifierExtractor.apply(entity));
  	}
docs: Creates a {@link Link} pointing to item resource backing the given entity. The relation type of the link will be
  determined by the implementation class and should be defaulted to {@link IanaLinkRelations#SELF}.
  
  @param type the entity to point to, must not be {@literal null}.
  @return the {@link Link} pointing to the resource exposed for the given entity. Will never be {@literal null}.
  @throws IllegalArgumentException in case the given type is unknown the entity links infrastructure.