Package org.jf.dexlib2.iface
Interface Member
-
- All Superinterfaces:
Annotatable
- All Known Implementing Classes:
BuilderField
,BuilderMethod
,DexBackedField
,DexBackedMethod
,FieldRewriter.RewrittenField
,ImmutableField
,ImmutableMethod
,MethodRewriter.RewrittenMethod
,ReflectionConstructor
,ReflectionField
,ReflectionMethod
public interface Member extends Annotatable
This class represents a generic class member
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAccessFlags()
Gets the access flags for this member.java.lang.String
getDefiningClass()
Gets the type of the class that defines this member.java.util.Set<HiddenApiRestriction>
getHiddenApiRestrictions()
Gets the hidden api restrictions for this member.java.lang.String
getName()
Gets the name of this member.-
Methods inherited from interface org.jf.dexlib2.iface.Annotatable
getAnnotations
-
-
-
-
Method Detail
-
getDefiningClass
@Nonnull java.lang.String getDefiningClass()
Gets the type of the class that defines this member.- Returns:
- The type of the class that defines this member
-
getName
@Nonnull java.lang.String getName()
Gets the name of this member.- Returns:
- The name of this field
-
getAccessFlags
int getAccessFlags()
Gets the access flags for this member. This will be a combination of the AccessFlags.* flags that are marked as compatible for use with this type of member.- Returns:
- The access flags for this member
-
getHiddenApiRestrictions
@Nonnull java.util.Set<HiddenApiRestriction> getHiddenApiRestrictions()
Gets the hidden api restrictions for this member. This will contain at most 1 normal flag (with isDomainSpecificApiFlag() = false), and 1 domain-specific api flag (with isDomainSpecificApiFlag() = true)- Returns:
- A set of the hidden api restrictions for this member.
-
-