Reports a Java method call replaceable by a Kotlin function, e.g. System.out.println().

Replacing the code allows you to get rid of the dependency to Java and makes the code more idiomatic.

The quick-fix replaces the Java method calls on the same Kotlin call.

Example:


  import java.util.Arrays

  fun main() {
      val a = Arrays.<caret>asList(1, 3, null)
  }

After the quick-fix is applied:


  fun main() {
      val a = listOf(1, 3, null)
  }