com.pnfsoftware.jeb.core.units.code.android.dex.IDexField |
This interface represents a DEX field_id_item
object, that is, a reference to an
internal or external field used in the dex. Retrieved via IDexUnit
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IDexType |
getClassType()
Get the type of the class holding this field.
| ||||||||||
abstract int |
getClassTypeIndex()
Get the containing class type index.
| ||||||||||
abstract String | getClassTypeSignature(boolean effective) | ||||||||||
abstract IDexFieldData |
getData()
Get a reference to the field definition, if the field is internal.
| ||||||||||
abstract IDexType |
getFieldType()
Get the field's type.
| ||||||||||
abstract int |
getFieldTypeIndex()
Get the field type index.
| ||||||||||
abstract String | getFieldTypeSignature(boolean effective) | ||||||||||
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, boolean internal, boolean includeFieldType) | ||||||||||
abstract String | getSignature(boolean effective, boolean internal) | ||||||||||
abstract String |
getSignature(boolean effective)
Get the signature for this field.
| ||||||||||
abstract String | getSignature(boolean effective, boolean internal, boolean includeFieldType, boolean qualifiedNames) | ||||||||||
abstract IDexValue |
getStaticInitializer()
Retrieve the initial value of this field if it is a static final class field.
| ||||||||||
abstract boolean |
setName(String name)
Rename this field.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Get the containing class type index.
Get a reference to the field definition, if the field is internal.
Get the field type index.
Get the index of this item in the DEX file's field list.
Get the name for this field.
effective | true to get the actual name, false to return the original name (if the unit allows the modification of items) |
---|
Get the field name index.
Get the signature for this field.
Example: Lcom/xyz/Blob;->name:Ljava/lang/String;
effective | true to get the actual signature, false to return the original signature (if the unit allows the modification of items) |
---|
Retrieve the initial value of this field if it is a static final class field.
Rename this field. This method does not notify changes on success: it is up to the user to
issue a UnitChange
notification.
This method is for convenience only: users can always use the associated unit's
RENAME
action (through the
executeAction
method) to rename an item generically.
name | the new name |
---|