| Constructor and Description |
|---|
StdField(CstType definingClass,
int accessFlags,
CstNat nat,
AttributeList attributes)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
TypedConstant |
getConstantValue()
Get the constant value for this field, if any.
|
getAccessFlags, getAttributes, getDefiningClass, getDescriptor, getName, getNat, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessFlags, getAttributes, getDefiningClass, getDescriptor, getName, getNatpublic StdField(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 TypedConstant getConstantValue()
null for a static final field which
includes a ConstantValue attribute.getConstantValue in interface Fieldnull-ok; the constant value, or null if this
field isn't a constantCopyright © 2020. All Rights Reserved.