ninja-core/src/main/java/ninja/ReverseRouter.java
@Override
    public Builder with(ControllerMethod controllerMethod) {
        LambdaRoute lambdaRoute = LambdaRoute.resolve(controllerMethod);
        
        // only need the functional method for the reverse lookup
        Method method = lambdaRoute.getFunctionalMethod();
        
        return builder(method.getDeclaringClass(), method.getName());
    }
@Override
    public Builder with(ControllerMethod controllerMethod) {
        LambdaRoute lambdaRoute = LambdaRoute.resolve(controllerMethod);
        
        // only need the functional method for the reverse lookup
        Method method = lambdaRoute.getFunctionalMethod();
        
        return builder(method.getDeclaringClass(), method.getName());
    }
Retrieves a the reverse route for a method referenced with Java-8
lambdas (functional method references).

@param controllerMethod The Java-8 style method reference such as
<code>ApplicationController::index</code>.
@return A <code>Builder</code> allowing setting path placeholders and
queryParam string parameters.