的意思 { *; }在ProGuard中 [英] Meaning of { *; } in ProGuard

查看:154
本文介绍了的意思 { *; }在ProGuard中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑以下Proguard声明:

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?

推荐答案

在ProGuard中用作通配符以指示all members and methods in the class.

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

来源: ProGuard手册 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆