com.pnfsoftware.jeb.core.units.code.android.dex.IDexValue |
An encoded_value
item.
Reference. Value objects are used to encode several types of dex data and metadata, such as static field initializer values or annotation values.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | VALUE_ANNOTATION | ||||||||||
int | VALUE_ARRAY | ||||||||||
int | VALUE_BOOLEAN | ||||||||||
int | VALUE_BYTE | ||||||||||
int | VALUE_CHAR | ||||||||||
int | VALUE_DOUBLE | ||||||||||
int | VALUE_ENUM | ||||||||||
int | VALUE_FIELD | ||||||||||
int | VALUE_FLOAT | ||||||||||
int | VALUE_INT | ||||||||||
int | VALUE_LONG | ||||||||||
int | VALUE_METHOD | ||||||||||
int | VALUE_METHOD_HANDLE | Added in Android O (= Android 8.0, API 26) | |||||||||
int | VALUE_METHOD_TYPE | Added in Android O (= Android 8.0, API 26) | |||||||||
int | VALUE_NULL | ||||||||||
int | VALUE_SHORT | ||||||||||
int | VALUE_STRING | ||||||||||
int | VALUE_TYPE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IDexAnnotation |
getAnnotation()
Get the intrinsic value of this item.
| ||||||||||
abstract List<IDexValue> |
getArray()
Get the intrinsic value of this item.
| ||||||||||
abstract boolean |
getBoolean()
Get the intrinsic value of this item.
| ||||||||||
abstract byte |
getByte()
Get the intrinsic value of this item.
| ||||||||||
abstract char |
getChar()
Get the intrinsic value of this item.
| ||||||||||
abstract double |
getDouble()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getEnumIndex()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getFieldIndex()
Get the intrinsic value of this item.
| ||||||||||
abstract float |
getFloat()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getInt()
Get the intrinsic value of this item.
| ||||||||||
abstract long |
getLong()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getMethodHandleIndex()
Get the intrinsic value of this item: an index into the method handle pool.
| ||||||||||
abstract int |
getMethodIndex()
Get the intrinsic value of this item. | ||||||||||
abstract int |
getMethodTypeIndex()
Get the intrinsic value of this item: an index into the prototype pool.
| ||||||||||
abstract short |
getShort()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getStringIndex()
Get the intrinsic value of this item.
| ||||||||||
abstract int |
getType()
Get the value type.
| ||||||||||
abstract int |
getTypeIndex()
Get the intrinsic value of this item.
| ||||||||||
abstract boolean |
isNull()
Determine whether the value is null.
|
Added in Android O (= Android 8.0, API 26)
Added in Android O (= Android 8.0, API 26)
Get the intrinsic value of this item. The value must be an annotation, else the method will throw an exception.
Get the intrinsic value of this item. The value must be an array of values, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a boolean, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a byte, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a character, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a double, else the method will throw an exception.
Get the intrinsic value of this item. The value must be an field index representing the value of an enumerated type constant, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a field index, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a float, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a integer, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a long, else the method will throw an exception.
Get the intrinsic value of this item: an index into the method handle pool. The value must be a double, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a method index, else the method will throw an exception.
Get the intrinsic value of this item: an index into the prototype pool. The value must be a double, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a short, else the method will throw an exception.
Get the intrinsic value of this item. The value must be a string index, else the method will throw an exception.
Get the value type.
Note: this is not a DEX type index. Refer to the VALUE_xxx
constants in
this class.
VALUE_xxx
constants.
Get the intrinsic value of this item. The value must be a type index, else the method will throw an exception.
Determine whether the value is null.