gpt4 book ai didi

proguard - proguard 规则中的双星号意味着什么?

转载 作者:行者123 更新时间:2023-12-02 14:06:04 34 4
gpt4 key购买 nike

例如,这条规则在 proguard 中意味着什么:

-keep class myjava.** {*;}

我理解 {*;} 部分意味着类中的所有成员和方法。但是包名中的 2 个星号是什么意思?

提前致谢。

最佳答案

来自the manual :

Types in classname, annotationtype, returntype, and argumenttype can containwildcards: '?' for a single character, '*' for any number of characters (butnot the package separator), '**' for any number of (any) characters, '%' forany primitive type, '***' for any type, and '...' for any number of arguments.

关于proguard - proguard 规则中的双星号意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21727162/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com