In DexBackedDexFile, one can retrieve types using getType(n) where n is the
index of the type to retrieve. At the moment, there is however no possibility
to get the range, i.e. one does not know the highest valid type index. Inside
the code of DexBackedDexFile, there is a range check that throws an exception
if the index is higher than "typeCount" which is a private variable. If one
wants to retrieve all types, one can thus currently only try all indices until
an exception is thrown. It would thus be great to have a getter for "typeCount"
to know when to stop.
Original issue reported on code.google.com by Steven.A...@googlemail.com on 20 Nov 2014 at 1:22
Original issue reported on code.google.com by
Steven.A...@googlemail.com
on 20 Nov 2014 at 1:22