# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.IDField
- Super interfaces: `com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression`

`dexdec` IR generic interface for field elements, that is, static fields and instance  fields. Two pseudo field exists: the instance field for `array.length`, and the static  field for `Type.class`.  

  Refer to [IDInstanceField](com.pnfsoftware.jeb.core.units.code.android.ir.IDInstanceField.md) and [IDStaticField](com.pnfsoftware.jeb.core.units.code.android.ir.IDStaticField.md).

## Abstract Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDField`


## Abstract Method: getFieldname
- return type: `java.lang.String`

Description: Retrieve the field simple name. Example: `field1`.
return: the field simple name, null if this object represents a pseudo\-field

## Abstract Method: getIndex
- return type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDIndex`

Description: Retrieve the field index in the corresponding dex unit, if it is an actual field \(not a  pseudo field\).
return: the field index, or null for pseudo\-fields

## Abstract Method: getNativeField
- parameter: `gctx`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDGlobalContext`
- return type: `com.pnfsoftware.jeb.core.units.code.android.dex.IDexField`

Description: Retrieve the corresponding dex field object.
parameter: gctx: global IR context
return: the field object, null if this object represents a pseudo\-field

