dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
DexppValue Struct 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.
 

Detailed Description

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.

Member Data Documentation

◆ kind

DexppValueKind DexppValue::kind

Which members below are meaningful.

◆ bool_value

int DexppValue::bool_value

BOOL: 1 or 0.

◆ int_value

int64_t DexppValue::int_value

INT.

◆ float_value

double DexppValue::float_value

FLOAT.

◆ string_value

DexppText DexppValue::string_value

STRING.

◆ type_descriptor

char* DexppValue::type_descriptor

TYPE.

◆ proto

char* DexppValue::proto

METHOD_TYPE.

◆ field

DexppFieldId DexppValue::field

ENUM, FIELD, and METHOD_HANDLE of a field kind.

◆ method

DexppMethodId DexppValue::method

METHOD, and METHOD_HANDLE of an invoke kind.

◆ method_handle_kind

DexppMethodHandleKind DexppValue::method_handle_kind

METHOD_HANDLE: what the handle does.

A damaged handle gives INVOKE_STATIC and an empty method.

◆ elements

struct DexppValue* DexppValue::elements

ARRAY: the elements.

◆ element_count

size_t DexppValue::element_count

ARRAY: the number of elements.

◆ annotation

struct DexppAnnotation* DexppValue::annotation

ANNOTATION: the nested annotation.


The documentation for this struct was generated from the following file: