public interface

IDexField

implements ICodeField
com.pnfsoftware.jeb.core.units.code.android.dex.IDexField

Class Overview

This interface represents a DEX field_id_item object.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract int getClassTypeIndex()
Get the containing class type index.
abstract IDexFieldData getData()
Get a reference to the field definition, if the field is internal.
abstract int getFieldTypeIndex()
Get the field type index.
abstract int getIndex()
Get the index of this item in the DEX file's field list.
abstract String getName(boolean effective)
Get the name for this field.
abstract int getNameIndex()
Get the field name index.
abstract String getSignature(boolean effective)
Get the signature for this field.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeField
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem

Public Methods

public abstract int getClassTypeIndex ()

Get the containing class type index.

Returns
  • the class type index

public abstract IDexFieldData getData ()

Get a reference to the field definition, if the field is internal.

Returns
  • the field data, null for external fields

public abstract int getFieldTypeIndex ()

Get the field type index.

Returns
  • the type index

public abstract int getIndex ()

Get the index of this item in the DEX file's field list.

Returns
  • the field index

public abstract String getName (boolean effective)

Get the name for this field.

Parameters
effective true to get the effective (current) name, false to get the original name
Returns
  • the name

public abstract int getNameIndex ()

Get the field name index.

Returns
  • the name index

public abstract String getSignature (boolean effective)

Get the signature for this field.

Example: Lcom/xyz/Blob;->name:Ljava/lang/String;

Parameters
effective true to get the effective (current) signature, false to get the original one
Returns
  • the field signature