private ClassData readClassData() {
      int staticFieldsSize = readUleb128();
      int instanceFieldsSize = readUleb128();
      int directMethodsSize = readUleb128();
      int virtualMethodsSize = readUleb128();
      ClassData.Field[] staticFields = readFields(staticFieldsSize);
      ClassData.Field[] instanceFields = readFields(instanceFieldsSize);
      ClassData.Method[] directMethods = readMethods(directMethodsSize);
      ClassData.Method[] virtualMethods = readMethods(virtualMethodsSize);
      return new ClassData(staticFields, instanceFields, directMethods, virtualMethods);
    }
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