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