|
dex++ 0.3.1
C++ and C API reference
|
Canonical, DEX-portable identity for a field reference. More...
#include <common/ids.hpp>
Public Member Functions | |
| bool | operator== (const FieldId &) const =default |
Public Attributes | |
| std::string | class_descriptor |
| 'L...;' form, e.g. "Ljava/lang/System;" | |
| std::string | name |
| Field name, e.g. "out". | |
| std::string | type |
| Field type descriptor, e.g. "Ljava/io/PrintStream;". | |
Canonical, DEX-portable identity for a field reference.
The triple (declaring class descriptor, name, type descriptor) uniquely identifies a field across all loaded DEX files — two fields may share a name and differ only in type. Owned strings; safe to store and compare.
|
default |
| std::string dex::FieldId::class_descriptor |
'L...;' form, e.g. "Ljava/lang/System;"
| std::string dex::FieldId::name |
Field name, e.g. "out".
| std::string dex::FieldId::type |
Field type descriptor, e.g. "Ljava/io/PrintStream;".