poohbar
03/16/2018, 11:32 PMdata 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.