|
dex++ 0.3.1
C++ and C API reference
|
An annotation element value, or the initial value of a static field. More...
#include <dexpp.h>
Public Attributes | |
| DexppValueKind | kind |
| Which members below are meaningful. | |
| int | bool_value |
| BOOL: 1 or 0. | |
| int64_t | int_value |
| INT. | |
| double | float_value |
| FLOAT. | |
| DexppText | string_value |
| STRING. | |
| char * | type_descriptor |
| TYPE. | |
| char * | proto |
| METHOD_TYPE. | |
| DexppFieldId | field |
| ENUM, FIELD, and METHOD_HANDLE of a field kind. | |
| DexppMethodId | method |
| METHOD, and METHOD_HANDLE of an invoke kind. | |
| DexppMethodHandleKind | method_handle_kind |
| METHOD_HANDLE: what the handle does. | |
| struct DexppValue * | elements |
| ARRAY: the elements. | |
| size_t | element_count |
| ARRAY: the number of elements. | |
| struct DexppAnnotation * | annotation |
| ANNOTATION: the nested annotation. | |
An annotation element value, or the initial value of a static field.
Only the members named by kind are set; the others are 0 or NULL.
| DexppValueKind DexppValue::kind |
Which members below are meaningful.
| int DexppValue::bool_value |
BOOL: 1 or 0.
| int64_t DexppValue::int_value |
INT.
| double DexppValue::float_value |
FLOAT.
| DexppText DexppValue::string_value |
STRING.
| char* DexppValue::type_descriptor |
TYPE.
| char* DexppValue::proto |
METHOD_TYPE.
| DexppFieldId DexppValue::field |
ENUM, FIELD, and METHOD_HANDLE of a field kind.
| DexppMethodId DexppValue::method |
METHOD, and METHOD_HANDLE of an invoke kind.
| DexppMethodHandleKind DexppValue::method_handle_kind |
METHOD_HANDLE: what the handle does.
A damaged handle gives INVOKE_STATIC and an empty method.
| struct DexppValue* DexppValue::elements |
ARRAY: the elements.
| size_t DexppValue::element_count |
ARRAY: the number of elements.
| struct DexppAnnotation* DexppValue::annotation |
ANNOTATION: the nested annotation.