# 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`
Description: Constant value for `value-annotation`.

## Static Field: VALUE_ARRAY
Type: `int`

Constant value: `28`
Description: Constant value for `value-array`.

## Static Field: VALUE_BOOLEAN
Type: `int`

Constant value: `31`
Description: Constant value for `value-boolean`.

## Static Field: VALUE_BYTE
Type: `int`

Constant value: `0`
Description: Constant value for `value-byte`.

## Static Field: VALUE_CHAR
Type: `int`

Constant value: `3`
Description: Constant value for `value-char`.

## Static Field: VALUE_DOUBLE
Type: `int`

Constant value: `17`
Description: Constant value for `value-double`.

## Static Field: VALUE_ENUM
Type: `int`

Constant value: `27`
Description: Constant value for `value-enum`.

## Static Field: VALUE_FIELD
Type: `int`

Constant value: `25`
Description: Constant value for `value-field`.

## Static Field: VALUE_FLOAT
Type: `int`

Constant value: `16`
Description: Constant value for `value-float`.

## Static Field: VALUE_INT
Type: `int`

Constant value: `4`
Description: Constant value for `value-int`.

## Static Field: VALUE_LONG
Type: `int`

Constant value: `6`
Description: Constant value for `value-long`.

## Static Field: VALUE_METHOD
Type: `int`

Constant value: `26`
Description: Constant value for `value-method`.

## 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`
Description: Constant value for `value-null`.

## Static Field: VALUE_SHORT
Type: `int`

Constant value: `2`
Description: Constant value for `value-short`.

## Static Field: VALUE_STRING
Type: `int`

Constant value: `23`
Description: Constant value for `value-string`.

## Static Field: VALUE_TYPE
Type: `int`

Constant value: `24`
Description: Constant value for `value-type`.

## 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 method handle index, else the method will throw an exception.
return: the method handle index value

## 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 method type index, else the method will throw an exception.
return: the prototype index value

## 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

