What does the double asterisk mean in proguard rul

2019-04-18 23:37发布

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.

标签: proguard
1条回答
混吃等死
2楼-- · 2019-04-18 23:59

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.
查看更多
登录 后发表回答