例如,这个规则对于proguard意味着什么:
-keep class myjava.** {*;}
Run Code Online (Sandbox Code Playgroud)
我理解{*;}部分意味着课堂上的所有成员和方法.但是2星号在包名中意味着什么?
提前致谢.
Sea*_*ght 19
从手册:
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.
| 归档时间: |
|
| 查看次数: |
2711 次 |
| 最近记录: |