Hey. Is there any simple way to list all the prope...
# announcements
a
Hey. Is there any simple way to list all the properties in a class excluding the ones with an explicit getter? E.g.
Copy code
data class Person(val name: String, val age: Int) {
    val signature: String get() = "$name - $age"
}

val allProps = Person::class.declaredMemberPropertiesExcludingGetters // xD
  // returns [Person::name, Person::age]