The offset or index of the field. The value depends on the kind of field:
- instance fields: the offset (in bytes) from the origin of the instance.
- static fields of primitive type: the offset (in bytes) into the static primitive data
array
StaticFieldsSupport.getStaticPrimitiveFields().
- static reference fields: the offset (in bytes) into the static object data array
StaticFieldsSupport.getStaticObjectFields().
- static fields that are never written (including but not limited to static final fields):
unused, this method must not be called.