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