proguard
Class MemberSpecification
java.lang.Object
proguard.MemberSpecification
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.
|
Constructor Summary |
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). |
| Methods inherited from class 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
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).
- Parameters:
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)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object