问题
What does this rule mean in proguard for example:
-keep class myjava.** {*;}
I understand {*;} part would mean all members and methods in the class. But what does the 2 asterisk mean in the package name?.
Thanks in advance.
回答1:
From the manual:
Types in classname, annotationtype, returntype, and argumenttype can contain wildcards: '?' for a single character, '*' for any number of characters (but not the package separator), '**' for any number of (any) characters, '%' for any primitive type, '***' for any type, and '...' for any number of arguments.
来源:https://stackoverflow.com/questions/21727162/what-does-the-double-asterisk-mean-in-proguard-rules