GROOVY-6268: Documented type coercion
   * closure to SAM type
   * closure to any type
   * implicit closure coercion
   * map to type
   * as vs asType