# Interface: com.pnfsoftware.jeb.core.units.code.android.dex.IDexValue

An `encoded_value` Dex item. 

 Reference.  Value objects are used to encode several types of dex data and metadata, such as static field initializer values or annotation values.

## Static Field: VALUE_ANNOTATION
Type: `int`

Constant value: `29`

## Static Field: VALUE_ARRAY
Type: `int`

Constant value: `28`

## Static Field: VALUE_BOOLEAN
Type: `int`

Constant value: `31`

## Static Field: VALUE_BYTE
Type: `int`

Constant value: `0`

## Static Field: VALUE_CHAR
Type: `int`

Constant value: `3`

## Static Field: VALUE_DOUBLE
Type: `int`

Constant value: `17`

## Static Field: VALUE_ENUM
Type: `int`

Constant value: `27`

## Static Field: VALUE_FIELD
Type: `int`

Constant value: `25`

## Static Field: VALUE_FLOAT
Type: `int`

Constant value: `16`

## Static Field: VALUE_INT
Type: `int`

Constant value: `4`

## Static Field: VALUE_LONG
Type: `int`

Constant value: `6`

## Static Field: VALUE_METHOD
Type: `int`

Constant value: `26`

## Static Field: VALUE_METHOD_HANDLE
Type: `int`

Constant value: `22`
Description: Added in Android O \(= Android 8.0, API 26\)

## Static Field: VALUE_METHOD_TYPE
Type: `int`

Constant value: `21`
Description: Added in Android O \(= Android 8.0, API 26\)

## Static Field: VALUE_NULL
Type: `int`

Constant value: `30`

## Static Field: VALUE_SHORT
Type: `int`

Constant value: `2`

## Static Field: VALUE_STRING
Type: `int`

Constant value: `23`

## Static Field: VALUE_TYPE
Type: `int`

Constant value: `24`

## Method: getAnnotation
- return type: `com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotation`

Description: Get the intrinsic value of this item. The value must be an annotation, else the method will throw an exception.
return: the annotation value

## Method: getArray
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexValue>`

Description: Get the intrinsic value of this item. The value must be an array of values, else the method will throw an exception.
return: the array of values

## Method: getBoolean
- return type: `boolean`

Description: Get the intrinsic value of this item. The value must be a boolean, else the method will throw an exception.
return: the boolean value

## Method: getByte
- return type: `byte`

Description: Get the intrinsic value of this item. The value must be a byte, else the method will throw an exception.
return: the byte value

## Method: getChar
- return type: `char`

Description: Get the intrinsic value of this item. The value must be a character, else the method will throw an exception.
return: the character value

## Method: getDouble
- return type: `double`

Description: Get the intrinsic value of this item. The value must be a double, else the method will throw an exception.
return: the double value

## Method: getEnumIndex
- return type: `int`

Description: 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.
return: the index value

## Method: getFieldIndex
- return type: `int`

Description: Get the intrinsic value of this item. The value must be a field index, else the method will throw an exception.
return: the field index value

## Method: getFloat
- return type: `float`

Description: Get the intrinsic value of this item. The value must be a float, else the method will throw an exception.
return: the float value

## Method: getInt
- return type: `int`

Description: Get the intrinsic value of this item. The value must be a integer, else the method will throw an exception.
return: the integer value

## Method: getLong
- return type: `long`

Description: Get the intrinsic value of this item. The value must be a long, else the method will throw an exception.
return: the long value

## Method: getMethodHandleIndex
- return type: `int`

Description: 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.
return: 

## Method: getMethodIndex
- return type: `int`

Description: Get the intrinsic value of this item. The value must be a method index, else the method will throw an exception.
return: the method index value

## Method: getMethodTypeIndex
- return type: `int`

Description: 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.
return: 

## Method: getShort
- return type: `short`

Description: Get the intrinsic value of this item. The value must be a short, else the method will throw an exception.
return: the short value

## Method: getStringIndex
- return type: `int`

Description: Get the intrinsic value of this item. The value must be a string index, else the method will throw an exception.
return: the string index value

## Method: getType
- return type: `int`

Description: Get the value type. 

 Note: this is **not** a Dex type index. Refer to the `VALUE_xxx` constants in this class.
return: the value type, refer to the `VALUE_xxx` constants.

## Method: getTypeIndex
- return type: `int`

Description: Get the intrinsic value of this item. The value must be a type index, else the method will throw an exception.
return: the type index value

## Method: isNull
- return type: `boolean`

Description: Determine whether the value is null.
return: true if the value represents null

