code: private int addExtendedName(int maxlength)
      {
          for (int i = TYPE_NAMES_.length - 1; i >= 0; i --) {
              // for each category, count the length of the category name
              // plus 9 =
              // 2 for <>
              // 1 for -
              // 6 for most hex digits per code point
              int length = 9 + add(m_nameSet_, TYPE_NAMES_[i]);
              if (length > maxlength) {
                  maxlength = length;
              }
          }
          return maxlength;
      }
docs: Adds all extended names into the name set.
  Equivalent to part of calcExtNameSetsLengths.
  @param maxlength length to compare to
  @return the maxlength of any possible extended name.