private void transformAnnotationSetRefLists(Dex in, IndexMap indexMap) {
    TableOfContents.Section section = in.getTableOfContents().annotationSetRefLists;
    if (section.exists()) {
      Dex.Section setIn = in.open(section.off);
      for (int i = 0; i < section.size; i++) {
        transformAnnotationSetRefList(indexMap, setIn);
      }
    }
  }
Copy annotation sets from each input to the output.

<p>TODO: this may write multiple copies of the same annotation set. We should shrink the output
by merging rather than unioning
android/android_framework/dex-maker/src/main/java/com/android/dx/merge/DexMerger.java