Package com.android.dx.cf.iface
Interface Field
- All Superinterfaces:
HasAttribute
,Member
- All Known Implementing Classes:
StdField
Interface representing fields of class files.
-
Method Summary
Modifier and TypeMethodDescriptionGet the constant value for this field, if any.Methods inherited from interface com.android.dx.cf.iface.Member
getAccessFlags, getAttributes, getDefiningClass, getDescriptor, getName, getNat
-
Method Details
-
getConstantValue
TypedConstant getConstantValue()Get the constant value for this field, if any. This only returns non-null
for astatic final
field which includes aConstantValue
attribute.- Returns:
null-ok;
the constant value, ornull
if this field isn't a constant
-