Czar
02/08/2018, 9:34 AMobject in terms of it's a singleton instance of an anonymous class, the instance is attached to SomeClass in my example on the class level (by using companion) So enforcing any kind of restrictions on it based on SomeClass' parent do not make any sense in Kotlin