I'm trying to keep methods with a certain naming pattern - specifically, public methods starting with cc_, with any parameters and returns values. I've not succeeded so far.
I tried:
-keep class * extends MySuperClass {
public cc_*;
}
but this wasn't accepted by the Proguard parser.
I'd appreciate any help.
Thanks - Calum
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to keep methods with a certain naming pattern - specifically, public methods starting with cc_, with any parameters and returns values. I've not succeeded so far.
I tried:
-keep class * extends MySuperClass {
public cc_*;
}
but this wasn't accepted by the Proguard parser.
I'd appreciate any help.
Thanks - Calum
You need to specify a return type and method arguments, even if they are just wildcards:
The wildcard "***" means any class or primitive type. The wildcard "..." means any arguments.
Eric
Eric - thanks for the quick and helpful answer - exactly what I needed. I was missing the *** for any return type. Much appreciated.
Calum