public <T> void arrayLength(Local<Integer> target, Local<T> array) {
    addInstruction(
        new ThrowingInsn(
            Rops.ARRAY_LENGTH, sourcePosition, RegisterSpecList.make(array.spec()), catches));
    moveResult(target, true);
  }
Sets {@code target} to the length of the array in {@code array}.
android/android_framework/dex-maker/src/main/java/com/android/dx/Code.java