some work on DexType and DexMethodType

This commit is contained in:
Jean-Marie Mineau 2023-09-04 16:36:15 +02:00
parent cc6ce1c625
commit 2ec3fe2c9d
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
4 changed files with 127 additions and 28 deletions

View file

@ -14,12 +14,19 @@ pub enum EncodedValue {
Long(i64),
Float(f32),
Double(f64),
/// Index of a [`crate::ProtoIdItem`] in `proto_ids`
MethodType(u32),
/// Index of a [`crate::MethodHandleItem`] in `method_handles`
MethodHandle(u32),
/// Index of a [`crate::StringIdItem`] in `string_ids`
String(u32),
/// Index of a [`crate::TypeIdItem`] in `type_ids`
Type(u32),
/// Index of a [`crate::FieldIdItem`] in `field_ids`
Field(u32),
/// Index of a [`crate::MethodIdItem`] in `method_ids`
Method(u32),
/// Index of a [`crate::FieldIdItem`] in `field_ids` representing an enum.
Enum(u32),
Array(EncodedArray),
Annotation(EncodedAnnotation),