public TableOfContents getTableOfContents() {
    return tableOfContents;
  }
It is the caller's responsibility to close {@code in}.
android/android_framework/dex-maker/src/main/java/com/android/dex/Dex.java