ラムダ式に置換できる SAM (単一抽象メソッド) コンストラクターが使用されていることを報告します。

例:


  fun main() {
      foo(Runnable { println("Hi!") })
  }

  fun foo(other: Runnable) {}

クイックフィックス適用後:


  fun main() {
      foo( { println("Hi!") })
  }

  fun foo(other: Runnable) {}