FileDocCategorySizeDatePackage
Member.javaAPI DocAndroid 5.1 API2199Thu Mar 12 22:18:30 GMT 2015com.android.dx.cf.iface

Member

public interface Member implements HasAttribute
Interface representing members of class files (that is, fields and methods).

Fields Summary
Constructors Summary
Methods Summary
public intgetAccessFlags()
Get the field {@code access_flags}.

return
the access flags

public AttributeListgetAttributes()
Get the field {@code attributes} (along with {@code attributes_count}).

return
{@code non-null;} the constant pool

public com.android.dx.rop.cst.CstTypegetDefiningClass()
Get the defining class.

return
{@code non-null;} the defining class

public com.android.dx.rop.cst.CstStringgetDescriptor()
Get the field {@code descriptor_index} of the member. This is just a convenient shorthand for {@code getNat().getDescriptor()}.

return
{@code non-null;} the descriptor

public com.android.dx.rop.cst.CstStringgetName()
Get the field {@code name_index} of the member. This is just a convenient shorthand for {@code getNat().getName()}.

return
{@code non-null;} the name

public com.android.dx.rop.cst.CstNatgetNat()
Get the name and type associated with this member. This is a combination of the fields {@code name_index} and {@code descriptor_index} in the original classfile, interpreted via the constant pool.

return
{@code non-null;} the name and type