public class DexField
extends java.lang.Object
This class represents a DEX field_id_item
object.
DexFieldData
Modifier and Type | Method and Description |
---|---|
int |
getClassTypeIndex()
Get the containing class type index.
|
int |
getIndex()
Get the index of this item in the DEX file's field list.
|
java.lang.String |
getName()
Get the effective name for this field.
|
java.lang.String |
getName(boolean effective)
Get the name for this field.
|
int |
getNameIndex()
Get the field name index.
|
java.lang.String |
getSignature(boolean effective)
Get the signature for this field.
|
int |
getTypeIndex()
Get the field type index.
|
public int getIndex()
Get the index of this item in the DEX file's field list.
public int getClassTypeIndex()
Get the containing class type index.
public int getTypeIndex()
Get the field type index.
public int getNameIndex()
Get the field name index.
public java.lang.String getName()
Get the effective name for this field.
Equivalent to getName(true)
.
public java.lang.String getName(boolean effective)
Get the name for this field.
effective
- true to get the effective (current) name, false to get the original namepublic java.lang.String getSignature(boolean effective)
Get the signature for this field.
effective
- true to get the effective (current) signature, false to get the original one