例如,这个规则对于proguard意味着什么:
-keep class myjava.** {*;}
我理解{*;}部分意味着课堂上的所有成员和方法。但是2星号在包名中意味着什么?。
提前致谢。
答案 0 :(得分:18)
来自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.