|
dex++ 0.3.1
C++ and C API reference
|
A resolved annotation instance attached to a class, method, or field. More...
#include <analysis/annotations.hpp>
Public Member Functions | |
| const AnnotationValue * | find (std::string_view name) const |
Value of the element named name, or nullptr if not explicitly set. | |
Public Attributes | |
| std::string | type_descriptor |
| Annotation class, 'L...;' form. | |
| AnnotationVisibility | visibility |
| std::vector< AnnotationElement > | elements |
| In DEX (name-ascending) order. | |
A resolved annotation instance attached to a class, method, or field.
Only explicitly written elements appear in elements — values left at their @interface defaults are absent (DEX stores defaults separately, in the dalvik.annotation.AnnotationDefault system annotation on the annotation class itself).
|
inline |
Value of the element named name, or nullptr if not explicitly set.
| std::string dex::Annotation::type_descriptor |
Annotation class, 'L...;' form.
| AnnotationVisibility dex::Annotation::visibility |
| std::vector<AnnotationElement> dex::Annotation::elements |
In DEX (name-ascending) order.