docs: void remove() {
          int nLen = length();
          for (int i = nLen - 1; i >= 0; i--) {
              XML xml = getXmlFromAnnotation(i);
              if (xml != null) {
                  xml.remove();
                  internalRemoveFromList(i);
              }
          }
      }