Files
kotlin-fork/idea/testData/quickfix/createFromUsage/get/afterCreateGetFromUsage8.kt
T

12 lines
360 B
Kotlin

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