MethodID represents a single method from DEX file.
More...
#include <methods.hpp>
MethodID represents a single method from DEX file.
◆ MethodID()
KUNAI::DEX::MethodID::MethodID |
( |
DVMType * |
class_, |
|
|
ProtoID * |
proto_, |
|
|
std::string & |
name_ |
|
) |
| |
|
inline |
Constructor of the MethodID.
- Parameters
-
class_ | class of the method |
return_type | type returned by prototype of the method |
name_ | name of the method |
◆ get_class() [1/2]
DVMType * KUNAI::DEX::MethodID::get_class |
( |
| ) |
|
|
inline |
Get a pointer to the class where method is.
- Returns
- pointer to class_
◆ get_class() [2/2]
const DVMType * KUNAI::DEX::MethodID::get_class |
( |
| ) |
const |
|
inline |
Get a constant pointer to the class where method is.
- Returns
- constant pointer to class_
◆ get_encoded_method()
get the encoded method set in this MethodID*
- Returns
- the encoded method from this method
◆ get_name() [1/2]
std::string & KUNAI::DEX::MethodID::get_name |
( |
| ) |
|
|
inline |
Get a reference to the name of the method.
- Returns
- reference to name_
◆ get_name() [2/2]
const std::string & KUNAI::DEX::MethodID::get_name |
( |
| ) |
const |
|
inline |
Get a constant reference to the name of the method.
- Returns
- constant reference to name_
◆ get_proto() [1/2]
ProtoID * KUNAI::DEX::MethodID::get_proto |
( |
| ) |
|
|
inline |
Get a pointer to the proto of the method.
- Returns
- pointer to proto_
◆ get_proto() [2/2]
const ProtoID * KUNAI::DEX::MethodID::get_proto |
( |
| ) |
const |
|
inline |
Get a constant pointer to the proto of the method.
- Returns
- constant pointer to proto_
◆ pretty_method()
std::string & KUNAI::DEX::MethodID::pretty_method |
( |
| ) |
|
Get a string representation of the method.
- Returns
- reference to pretty print of method
◆ set_encoded_method()
void KUNAI::DEX::MethodID::set_encoded_method |
( |
EncodedMethod * |
e | ) |
|
|
inline |
Set the encoded method from this MethodID.
- Parameters
-
encoded_method | proper encoded method |
The documentation for this class was generated from the following file: