Meaning of { *; } in ProGuard

被刻印的时光 ゝ 提交于 2020-07-18 09:28:12

问题


Consider this proguard statement :

-keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior { *; }

In this statement what does the addition of { *; } mean?

Does it preserve all methods? All fields? Or just the entire class?


回答1:


It is used as a wildcard in ProGuard to indicate all members and methods in the class.

Source: ProGuard manual, Stack overflow



来源:https://stackoverflow.com/questions/32455157/meaning-of-in-proguard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!