ReplaceJavaStaticMethodWithKotlinAnalogInspection: add more cases for Arrays

#KT-32512 Fixed
#KT-30124 Fixed
This commit is contained in:
Dmitry Gridin
2019-07-08 20:21:24 +03:00
parent 24caca1882
commit b2a60795da
22 changed files with 220 additions and 1 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
fun test() {
val a = arrayOf(2)
val b = arrayOf(4)
val aOffset = 1
val bOffset = 2
val len = 5
java.lang.System.<caret>arraycopy(a, aOffset, b, bOffset, len)
}