Is there a way to identify a Kotlin data class from a regular Kotlin class? Like using reflection maybe?
Since 1.1 there is an isData property on the class
MyDataClass::class.isData