Reports match statements that can be converted to pattern matching anonymous functions.

Example:


  iterable.map(value => value match {
      case Some(value) => whenValue(value)
      case None => whenNothing()
  })

After the quick-fix is applied:


  iterable.map {
      case Some(value) => whenValue(value)
      case None => whenNothing()
  }