Reputation: 63
I use -keepparameternames but it's not responding to interface.
The interface's methond parameter is proguard.
Thank you for your help.
Upvotes: 6
Views: 884
Reputation: 4222
Proguard can preserve parameter names just fine. Unfortunately, javac does not preserve them by default. In order to emit necessary attributes, make sure to compile your code with full debugging info enabled. Java 8 javac does this with -g
and -parameters
flags.
See this blogpost for some background.
Upvotes: 2