Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/set/afterCreateSetFromUsage2.kt

14 lines
364 B
Kotlin

// "Create function 'set'" "true"
import java.util.ArrayList
class Foo<T> {
fun <T> x (y: Any, w: java.util.ArrayList<T>) {
y["", w] = w
}
}
fun <T> Any.set(s: String, w: ArrayList<T>, value: ArrayList<T>) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}