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