spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/AffordanceBuilder.java
public static AffordanceBuilder linkTo(Class<?> controller, Map<String, ?> parameters) {
        return FACTORY.linkTo(controller, parameters);
    }
public static AffordanceBuilder linkTo(Class<?> controller, Map<String, ?> parameters) {
        return FACTORY.linkTo(controller, parameters);
    }
Creates a new {@link AffordanceBuilder} with a base of the mapping annotated to the given controller class. The
additional parameters are used to fill up potentially available path variables in the class scop request
mapping.

@param controller
the class to discover the annotation on, must not be {@literal null}.
@param parameters
additional parameters to bind to the URI template declared in the annotation, must not be {@literal
null}.
@return