10#ifndef KUNAI_DEX_ANALYSIS_EXTERNAL_METHOD_HPP
11#define KUNAI_DEX_ANALYSIS_EXTERNAL_METHOD_HPP
13#include "Kunai/DEX/DVM/dvm_types.hpp"
25 std::string& class_idx;
28 std::string& name_idx;
31 std::string& proto_idx;
34 mutable std::string pretty_name;
37 TYPES::access_flags access_flags = TYPES::access_flags::NONE;
40 ExternalMethod(std::string& class_idx, std::string& name_idx, std::string& proto_idx)
41 : class_idx(class_idx), name_idx(name_idx), proto_idx(proto_idx)
71 if (pretty_name.empty())
72 pretty_name = class_idx+
"->"+name_idx+proto_idx;
Definition external_method.hpp:23
std::string & get_proto_idx() const
Get the prototype of the external method.
Definition external_method.hpp:60
std::string & get_class_idx() const
Return the name of the class where the method is.
Definition external_method.hpp:46
TYPES::access_flags get_access_flags() const
Get the access flags from the method.
Definition external_method.hpp:78
std::string & pretty_method_name() const
Get a pretty printed version of the name that includes class name, name of the method and the prototy...
Definition external_method.hpp:69
std::string & get_name_idx() const
Get the name of the external method.
Definition external_method.hpp:53
utilities
Definition analysis.hpp:23