public static IndexType getIndexType(int opcode) {
    return get(opcode).getIndexType();
  }
Gets the {@link IndexType} for the given opcode value.
android/android_framework/dex-maker/src/main/java/com/android/dx/io/OpcodeInfo.java