Kotlin stdlib으로 대체 가능한 Java Collections static 메서드 호출을 보고합니다.

예:


  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)
  }