ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transform interface

#KT-32454 Fixed
This commit is contained in:
Dmitry Gridin
2019-07-09 11:53:10 +03:00
parent 835532c206
commit 3aa2401f19
45 changed files with 169 additions and 230 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
import java.util.Arrays.hashCode
fun test() {
val a = arrayOf(1)
val hash = <caret>hashCode(a)
}
@@ -0,0 +1,7 @@
// WITH_RUNTIME
import java.util.Arrays.hashCode
fun test() {
val a = arrayOf(1)
val hash = <caret>a.contentHashCode()
}