private static @Nullable <T extends DomChildrenDescription> T findChildrenDescription(List<T> descriptions, XmlTag tag, DomInvocationHandler parent) {
    final XmlFile file = parent.getFile();

    //noinspection ForLoopReplaceableByForEach
    for (int i = 0, size = descriptions.size(); i < size; i++) {
      T description = descriptions.get(i);
      if (DomImplUtil.isNameSuitable(description.getXmlName(), tag, parent, file)) {
        return description;
      }
    }
    return null;
  }
private static @Nullable <T extends DomChildrenDescription> T findChildrenDescription(List<T> descriptions, XmlTag tag, DomInvocationHandler parent)