dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
dex::model::MethodDef Struct Reference

#include <model/types.hpp>

Public Member Functions

bool operator== (const MethodDef &) const =default
 

Public Attributes

std::string name
 
std::string proto
 Prototype descriptor, e.g. "(ILjava/lang/String;)V".
 
AccessFlags access {}
 
std::optional< Code > code
 nullopt for abstract and native methods.
 
std::vector< AnnotationItem > annotations
 
std::vector< std::vector< AnnotationItem > > parameter_annotations
 One annotation list per parameter, as the file declares them (the count may differ from the parameter count); empty for none.
 

Member Function Documentation

◆ operator==()

bool dex::model::MethodDef::operator== ( const MethodDef &  ) const
default

Member Data Documentation

◆ name

std::string dex::model::MethodDef::name

◆ proto

std::string dex::model::MethodDef::proto

Prototype descriptor, e.g. "(ILjava/lang/String;)V".

◆ access

AccessFlags dex::model::MethodDef::access {}

◆ code

std::optional<Code> dex::model::MethodDef::code

nullopt for abstract and native methods.

◆ annotations

std::vector<AnnotationItem> dex::model::MethodDef::annotations

◆ parameter_annotations

std::vector<std::vector<AnnotationItem> > dex::model::MethodDef::parameter_annotations

One annotation list per parameter, as the file declares them (the count may differ from the parameter count); empty for none.


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