Class with all the previos annotations.
More...
#include <annotations.hpp>
Class with all the previos annotations.
◆ get_field_annotation_by_id()
FieldAnnotation * KUNAI::DEX::AnnotationDirectoryItem::get_field_annotation_by_id |
( |
std::uint32_t |
idx | ) |
|
Get a pointer to a field annotation.
- Parameters
-
- Returns
- field annotation pointer
◆ get_field_annotations() [1/2]
std::vector< fieldannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_field_annotations |
( |
| ) |
|
|
inline |
Get a reference to all the field annotations from the annotation directory.
- Returns
- reference to vector of field annotations
◆ get_field_annotations() [2/2]
const std::vector< fieldannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_field_annotations |
( |
| ) |
const |
|
inline |
Get a constant reference to all the field annotations from the annotation directory.
- Returns
- constant reference to vector of field annotations
◆ get_method_annotation_by_id()
MethodAnnotation * KUNAI::DEX::AnnotationDirectoryItem::get_method_annotation_by_id |
( |
std::uint32_t |
idx | ) |
|
Get a pointer to method annotation.
- Parameters
-
- Returns
- method annotation pointer
◆ get_method_annotations() [1/2]
std::vector< methodannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_method_annotations |
( |
| ) |
|
|
inline |
Get a reference to all method annotations from the annotation directory.
- Returns
- reference to all method annotations
◆ get_method_annotations() [2/2]
const std::vector< methodannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_method_annotations |
( |
| ) |
const |
|
inline |
Get a constant reference to all method annotations from the annotation directory.
- Returns
- constant reference to all method annotations
◆ get_parameter_annotation_by_id()
ParameterAnnotation * KUNAI::DEX::AnnotationDirectoryItem::get_parameter_annotation_by_id |
( |
std::uint32_t |
idx | ) |
|
Get a pointer to a parameter annotation.
- Parameters
-
- Returns
- pointer to parameter annotations of the method
◆ get_parameter_annotations() [1/2]
std::vector< parameterannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_parameter_annotations |
( |
| ) |
|
|
inline |
Get a reference to all the parameter annotations from the annotation directory.
- Returns
- constant to parameter annotations
◆ get_parameter_annotations() [2/2]
const std::vector< parameterannotation_t > & KUNAI::DEX::AnnotationDirectoryItem::get_parameter_annotations |
( |
| ) |
const |
|
inline |
Get a constant reference to all the parameter annotations from the annotation directory.
- Returns
- constant reference to parameter annotations
◆ parse_annotation_directory_item()
void KUNAI::DEX::AnnotationDirectoryItem::parse_annotation_directory_item |
( |
stream::KunaiStream * |
stream | ) |
|
Parse the annotation directory item.
- Parameters
-
stream | stream with the DEX file |
The documentation for this class was generated from the following file: