Class StdMember
java.lang.Object
com.android.dx.cf.iface.StdMember
- All Implemented Interfaces:
HasAttribute, Member
-
Constructor Summary
ConstructorsConstructorDescriptionStdMember(CstType definingClass, int accessFlags, CstNat nat, AttributeList attributes) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal intGet the fieldaccess_flags.final AttributeListGet the fieldattributes(along withattributes_count).final CstTypeGet the defining class.final CstStringGet the fielddescriptor_indexof the member.final CstStringgetName()Get the fieldname_indexof the member.final CstNatgetNat()Get the name and type associated with this member.toString()
-
Constructor Details
-
StdMember
Constructs an instance.- Parameters:
definingClass-non-null;the defining classaccessFlags- access flagsnat-non-null;member name and type (descriptor)attributes-non-null;list of associated attributes
-
-
Method Details
-
toString
-
getDefiningClass
Get the defining class.- Specified by:
getDefiningClassin interfaceMember- Returns:
non-null;the defining class
-
getAccessFlags
public final int getAccessFlags()Get the fieldaccess_flags.- Specified by:
getAccessFlagsin interfaceMember- Returns:
- the access flags
-
getNat
-
getName
-
getDescriptor
Get the fielddescriptor_indexof the member. This is just a convenient shorthand forgetNat().getDescriptor().- Specified by:
getDescriptorin interfaceMember- Returns:
non-null;the descriptor
-
getAttributes
Get the fieldattributes(along withattributes_count).- Specified by:
getAttributesin interfaceHasAttribute- Specified by:
getAttributesin interfaceMember- Returns:
non-null;the constant pool
-