docs: @Override
  	public LinkBuilder linkFor(Class<?> entity, Object... parameters) {
  
  		Assert.notNull(entity, "Entity must not be null!");
  
  		Class<?> controllerType = entityToController.get(entity);
  
  		if (controllerType == null) {
  			throw new IllegalArgumentException(String.format(
  					"Type %s is not managed by a Spring MVC controller. Make sure you have annotated your controller with %s!",
  					entity.getName(), ExposesResourceFor.class.getName()));
  		}
  
  		return linkBuilderFactory.linkTo(controllerType, parameters);
  	}