code: SoyJsSrcOptions toJsSrcOptions() {
      SoyJsSrcOptions jsSrcOptions = new SoyJsSrcOptions();
      // Only goog.module generation supported
      jsSrcOptions.setShouldGenerateGoogModules(true);
      jsSrcOptions.setShouldGenerateGoogMsgDefs(true);
      jsSrcOptions.setGoogMsgsAreExternal(true);
      jsSrcOptions.setBidiGlobalDir(0);
      jsSrcOptions.setUseGoogIsRtlForBidiGlobalDir(true);
      return jsSrcOptions;
    }
docs: Convert to {@link SoyJsSrcOptions}. This is necessary since {@code incrementaldomsrc} reuses
  lots of {@code jssrc} which needs to interact with this object.