Proguardの*
,**
とワイルドカードの違いは何ですか? ***
例えば:
-keep class com.mypackage.*
対
-keep class com.mypackage.**
対
-keep class com.mypackage.***
* matches any part of a method name. OR matches any part of a class name not containing the package separator.
** matches any part of a class name, possibly containing any number of package separators.
*** matches any type (primitive or non-primitive, array or non-array).
*
、および**
ワイルドカードはプリミティブ型と一致しないことに注意してください。さらに、* ワイルドカードのみが任意の次元の配列タイプに一致します。たとえば、" get*()" は に一致しますが、 、または には一致"java.lang.Object getObject()"
しませ"float getFloat()"
ん"java.lang.Object[] getObjects()"
。
* matches any part of a filename not containing the directory separator.
** matches any part of a filename, possibly containing any number of directory separators.