Hey, so I want use ProGuard for obfuscation but ea...
# announcements
m
Hey, so I want use ProGuard for obfuscation but each time when I want use reflection I have in bytecode `LKotlin/Metadata'. And there are too much about objects that I want hide. Is there any way to get rid of it? Or I need use java reflection?
d
Kotlin reflection needs the
Metadata
annotation. If you don't want to keep it, you have to resort to Java reflection
m
that's sad, then I need rewrite most of kotlin reflection to java 😞, anyway thanks!
g
But Java reflections also require keeping original names, otherwise it will not work
m
@msink yep but I try just read constructor parameters types to create object so I don't bother about original names