docs: public void addSubTerms(final List<IndexTerm> terms) {
          int subTermsNum;
          if (terms == null) {
              return;
          }
  
          subTermsNum = terms.size();
          for (int i = 0; i < subTermsNum; i++) {
              addSubTerm(terms.get(i));
          }
      }