程序包 proguard

类 MemberSpecification

  • 直接已知子类:
    MemberValueSpecification

    public class MemberSpecification
    extends java.lang.Object
    This class stores a specification of class members. The specification is template-based: the class member names and descriptors can contain wildcards.
    • 构造器概要

      构造器 
      构造器 说明
      MemberSpecification()
      Creates a new option to keep all possible class members.
      MemberSpecification​(int requiredSetAccessFlags, int requiredUnsetAccessFlags, java.lang.String annotationType, java.lang.String name, java.lang.String descriptor)
      Creates a new option to keep the specified class member(s).
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean equals​(java.lang.Object object)  
      int hashCode()  
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • requiredSetAccessFlags

        public int requiredSetAccessFlags
      • requiredUnsetAccessFlags

        public int requiredUnsetAccessFlags
      • annotationType

        public final java.lang.String annotationType
      • name

        public final java.lang.String name
      • descriptor

        public final java.lang.String descriptor
      • attributeNames

        public final java.util.List attributeNames
    • 构造器详细资料

      • MemberSpecification

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

        public MemberSpecification​(int requiredSetAccessFlags,
                                   int requiredUnsetAccessFlags,
                                   java.lang.String annotationType,
                                   java.lang.String name,
                                   java.lang.String descriptor)
        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.
    • 方法详细资料

      • equals

        public boolean equals​(java.lang.Object object)
        覆盖:
        equals 在类中 java.lang.Object
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object