modules/jooby-apitool/src/main/java/org/jooby/internal/apitool/Lambda.java
public Lambda method(MethodNode method) {
    return new Lambda(declaringClass, owner, desc, implementationName, name, pattern, method, tag);
  }
public Lambda method(MethodNode method) {
    return new Lambda(declaringClass, owner, desc, implementationName, name, pattern, method, tag);
  }
Creates a new lambda and set a pattern prefix.

@param method Method node.
@return A new lambda.