I have read the Object Expressions documentation: https://kotlinlang.org/docs/reference/object-declarations.html
…but I am not sure if an object expression is always analogous to Java inner class in that it contains reference to containing object, even if there is no usage of outer object. The doc page says it can access the outer object. But it would be useful to know, for example on Android.