private ClassData.Method[] readMethods(int count) {
      ClassData.Method[] result = new ClassData.Method[count];
      int methodIndex = 0;
      for (int i = 0; i < count; i++) {
        methodIndex += readUleb128(); // method index diff
        int accessFlags = readUleb128();
        int codeOff = readUleb128();
        result[i] = new ClassData.Method(methodIndex, accessFlags, codeOff);
      }
      return result;
    }
Look up a descriptor index from a type index. Cheaper than: {@code
open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt();}
android/android_framework/dex-maker/src/main/java/com/android/dex/Dex.java