When I have: ``` data class Person(val name: Strin...
# announcements
p
When I have:
Copy code
data class Person(val name: String, val age: Int)
Is there a way to get the property names (
name
,
age
) at runtime? I know in Java it's not possible because it wipes the parameter names, but in Kotlin I noticed that it puts the names into the
@Metadata
annotation.