package m2 public fun testUseAsReceiver(api: javaInterface.API) { api.useM1A { this.length } api.useM1B { this.length } api.useM2A { this.length } api.useM2B { this.length } } public fun testUseAsParameter(api: javaInterface.API) { api.useM1A { it.length } api.useM1B { it.length } api.useM2A { it.length } api.useM2B { it.length } }