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