KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KUNAI::DEX::AnnotationElement Class Reference

Annotation element with value and a name this is contained in the EncodedAnnotation class. More...

#include <encoded.hpp>

Public Member Functions

 AnnotationElement (std::string &name, encodedvalue_t value)
 Constructor of the annotation element.
 
 ~AnnotationElement ()=default
 Destructor of the annotation element.
 
std::string & get_name ()
 Get the name of the annotation.
 
EncodedValueget_value ()
 Get the value of the annotation.
 

Detailed Description

Annotation element with value and a name this is contained in the EncodedAnnotation class.

Constructor & Destructor Documentation

◆ AnnotationElement()

KUNAI::DEX::AnnotationElement::AnnotationElement ( std::string &  name,
encodedvalue_t  value 
)
inline

Constructor of the annotation element.

Parameters
namename of the annotation
valuevalue of the annotation

Member Function Documentation

◆ get_name()

std::string & KUNAI::DEX::AnnotationElement::get_name ( )
inline

Get the name of the annotation.

Returns
name of annotation

◆ get_value()

EncodedValue * KUNAI::DEX::AnnotationElement::get_value ( )
inline

Get the value of the annotation.

Returns
value of the annotation

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