Kotlin: ProGuard erases properties attributes
问题 TL;DR : with proguard enabled, when using reflection, my properties look private, non-nullable and without annotations, despite proguard config that should keep all these attributes. I have some simple data class es with public properties to serve as data models in my Android app. Later, when doing generic [de]serialization of said classes, I filter the property list like this: val properties = instance::class.memberProperties .filter { it.visibility == KVisibility.PUBLIC } // && some other