DexBackedMethodReference contains a field to hold the methodIndex of the referenced method, but does not expose it. I think the field should be public, like the other DexBacked*Reference classes.
(Use case: I want to obtain the offset for a method based on the DexBackedMethodReference; right now, I can only do that by using indexOf on the dex file's MethodSection, which has terrible performance.)
DexBackedMethodReference contains a field to hold the methodIndex of the referenced method, but does not expose it. I think the field should be public, like the other DexBacked*Reference classes.
(Use case: I want to obtain the offset for a method based on the DexBackedMethodReference; right now, I can only do that by using indexOf on the dex file's MethodSection, which has terrible performance.)
The same issue exists in DexBackedFieldReference.