| Constructor and Description |
|---|
StdMember(CstType definingClass,
int accessFlags,
CstNat nat,
AttributeList attributes)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Get the field
access_flags. |
AttributeList |
getAttributes()
Get the field
attributes (along with
attributes_count). |
CstType |
getDefiningClass()
Get the defining class.
|
CstString |
getDescriptor()
Get the field
descriptor_index of the member. |
CstString |
getName()
Get the field
name_index of the member. |
CstNat |
getNat()
Get the name and type associated with this member.
|
java.lang.String |
toString() |
public StdMember(CstType definingClass, int accessFlags, CstNat nat, AttributeList attributes)
definingClass - non-null; the defining classaccessFlags - access flagsnat - non-null; member name and type (descriptor)attributes - non-null; list of associated attributespublic java.lang.String toString()
toString in class java.lang.Objectpublic final CstType getDefiningClass()
getDefiningClass in interface Membernon-null; the defining classpublic final int getAccessFlags()
access_flags.getAccessFlags in interface Memberpublic final CstNat getNat()
name_index and
descriptor_index in the original classfile, interpreted
via the constant pool.public final CstString getName()
name_index of the member. This is
just a convenient shorthand for getNat().getName().public final CstString getDescriptor()
descriptor_index of the member. This is
just a convenient shorthand for getNat().getDescriptor().getDescriptor in interface Membernon-null; the descriptorpublic final AttributeList getAttributes()
attributes (along with
attributes_count).getAttributes in interface HasAttributegetAttributes in interface Membernon-null; the constant poolCopyright © 2020. All Rights Reserved.