10#ifndef KUNAI_DEX_ANALYSIS_EXTERNAL_CLASS_HPP
11#define KUNAI_DEX_ANALYSIS_EXTERNAL_CLASS_HPP
13#include "Kunai/DEX/analysis/external_method.hpp"
27 std::vector<ExternalMethod*> methods;
29 std::vector<encodedfield_t> fields;
59 methods.push_back(method);
67 fields.push_back(std::make_unique<EncodedField>(field, TYPES::access_flags::NONE));
72 const std::vector<std::unique_ptr<EncodedField>>&
get_fields()
const
Definition external_class.hpp:23
std::vector< ExternalMethod * > & get_methods()
Get a reference to the methods of the class.
Definition external_class.hpp:50
void add_external_field(FieldID *field)
Add a new EncodedField to the class, we do not know if this is static or any other kind of field.
Definition external_class.hpp:65
const std::vector< ExternalMethod * > & get_methods() const
Get a constant reference to the methods of the class.
Definition external_class.hpp:43
std::string & get_name()
Get the name of the external class.
Definition external_class.hpp:36
void add_external_method(ExternalMethod *method)
Add an external method to the list of methods.
Definition external_class.hpp:57
const std::vector< std::unique_ptr< EncodedField > > & get_fields() const
Get a constant reference to the fields of this class.
Definition external_class.hpp:72
std::vector< std::unique_ptr< EncodedField > > & get_fields()
Get a reference to the fields of this class.
Definition external_class.hpp:79
Definition external_method.hpp:23
FieldID represent one of the fields from the DEX file.
Definition fields.hpp:28
utilities
Definition analysis.hpp:23