I have one method
public class XYZ {
public void foo(boolean isAvailable) {
}
}
I am using Proguard to obfuscate, Please let me know how can I keep the method foo with it's boolean parameter.
答案 0 :(得分:2)
您可以这样做
exercism submit C:\Users\srag\Exercism\python\hello-world\hello_world.py
-keepparameternames
-keep class com.abc.XYZ {
public void foo(boolean);
}
不会混淆方法参数