public void setTypeVisitor(Visitor visitor) {
    typeVisitor = visitor;
  }
Sets {@code visitor} as the visitor for all type instructions.
android/android_framework/dex-maker/src/main/java/com/android/dx/io/CodeReader.java