https://kotlinlang.org logo
m

mbickel

04/18/2018, 6:06 PM
reflection question: when I want to access all member properties of the current class implementing a certain interface I'd go like
this::class.memberProperties.filter { it is Config }.forEach { }
- but the members are of
KProperty1
, so `get()`ing them I need a receiver. Compiler won't let me pass
this
, so what do I set it as?