public void set(
      int n,
      CstType declaringClass,
      CstMethodHandle bootstrapMethodHandle,
      BootstrapMethodArgumentsList arguments) {
    set(n, new Item(declaringClass, bootstrapMethodHandle, arguments));
  }
Sets the item at the given index.

@param n {@code >= 0, < size();} which element
@param declaringClass {@code non-null;} the class declaring boot method.
@param bootstrapMethodHandle {@code non-null;} the boot method handle
@param arguments {@code non-null;} the arguments of the boot method
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BootstrapMethodsList.java