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

#include <model/types.hpp>

Public Member Functions

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

Public Attributes

std::string name
 
std::string type
 Field type descriptor.
 
AccessFlags access {}
 
std::optional< Value > initial_value
 A static field's initial value; nullopt means the type's default (zero, false or null).
 
std::vector< AnnotationItem > annotations
 

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ name

std::string dex::model::FieldDef::name

◆ type

std::string dex::model::FieldDef::type

Field type descriptor.

◆ access

AccessFlags dex::model::FieldDef::access {}

◆ initial_value

std::optional<Value> dex::model::FieldDef::initial_value

A static field's initial value; nullopt means the type's default (zero, false or null).

◆ annotations

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

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