docs: public void addTargets(final List<IndexTermTarget> targets) {
          int targetNum;
  
          if (targets == null) {
              return;
          }
  
          targetNum = targets.size();
          for (int i = 0; i < targetNum; i++) {
              addTarget(targets.get(i));
          }
      }