Java Collections の static メソッドの呼び出しで、Kotlin stdlib に置換できるものを報告します。

例:


  import java.util.Collections

  fun test() {
      val mutableList = mutableListOf(1, 2)
      Collections.fill(mutableList, 3)
  }

クイックフィックスを使用すると、Java Collections の static メソッドの呼び出しが対応する Kotlin stdlib メソッドの呼び出しに置換されます。


  import java.util.Collections

  fun test() {
      val mutableList = mutableListOf(1, 2)
      mutableList.fill(3)
  }