Is there a way to access name variable having a reference to object B without modifying B class?
class A {
val name = "Name"
inner class B {
}
}
val b: A.B = ...
Maybe there is a way of getting reference to A object having variable b?