com.android.dx.cf.iface
Interface Field

All Superinterfaces:
Member
All Known Implementing Classes:
StdField

public interface Field
extends Member

Interface representing fields of class files.


Method Summary
 TypedConstant getConstantValue()
          Get 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 Detail

getConstantValue

TypedConstant getConstantValue()
Get the constant value for this field, if any. This only returns non-null for a static final field which includes a ConstantValue attribute.

Returns:
null-ok; the constant value, or null if this field isn't a constant


Copyright © 2015. All rights reserved.