报告可以转换为 SAM(单一抽象方法)的表达式。

示例:


  new Thread(new Runnable {
      override def run() = println()
  })

在应用快速修复后:


  new Thread(() => println())