public interface

IDField

implements IDExpression
com.pnfsoftware.jeb.core.units.code.android.ir.IDField
Known Indirect Subclasses

Class Overview

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 and IDStaticField.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
Public Methods
abstract IDField duplicate()
Duplicate this element.
abstract String getFieldname()
Retrieve the field simple name.
abstract IDIndex getIndex()
Retrieve the field index in the corresponding dex unit, if it is an actual field (not a pseudo field).
abstract IDexField getNativeField(IDGlobalContext gctx)
Retrieve the corresponding dex field object.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.IInstructionOperand
From interface com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
From interface com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression

Public Methods

public abstract IDField duplicate ()

Duplicate this element.

Returns
  • a deep copy of this element; the type of the duplicated element should be the same as this element's type

public abstract String getFieldname ()

Retrieve the field simple name. Example: field1.

Returns
  • the field simple name, null if this object represents a pseudo-field

public abstract IDIndex getIndex ()

Retrieve the field index in the corresponding dex unit, if it is an actual field (not a pseudo field).

public abstract IDexField getNativeField (IDGlobalContext gctx)

Retrieve the corresponding dex field object.

Parameters
gctx global IR context
Returns
  • the field object, null if this object represents a pseudo-field