程序包 proguard

类 MemberValueSpecification


  • public class MemberValueSpecification
    extends MemberSpecification
    This member specification assigns a constant value or value range to the class members.
    • 字段详细资料

      • values

        public java.lang.Number[] values
    • 构造器详细资料

      • MemberValueSpecification

        public MemberValueSpecification()
        Creates a new option to keep all possible class members.
      • MemberValueSpecification

        public MemberValueSpecification​(int requiredSetAccessFlags,
                                        int requiredUnsetAccessFlags,
                                        java.lang.String annotationType,
                                        java.lang.String name,
                                        java.lang.String descriptor,
                                        java.lang.Number[] values)
        Creates a new option to keep the specified class member(s).
        参数:
        requiredSetAccessFlags - the class access flags that must be set in order for the class to apply.
        requiredUnsetAccessFlags - the class access flags that must be unset in order for the class to apply.
        annotationType - the name of the class that must be an annotation in order for the class member to apply. The name may be null to specify that no annotation is required.
        name - the class member name. The name may be null to specify any class member or it may contain "*" or "?" wildcards.
        descriptor - the class member descriptor. The descriptor may be null to specify any class member or it may contain "**", "*", or "?" wildcards.
        values - the constant value or value range assigned to this class member.