in ```object Blah { val context = context() }`...
# announcements
c
in
Copy code
object Blah {
    val context = context()
}
how can i get the name of the object (“Blah”) from the context method?
m
Copy code
fun Any.context(): Context {
   val name = this::class.simpleName
   return …
}
c
ah clever!