private HashMap<String, HtmlElementDescriptorImpl> doBuildCachedMap() {
    HashMap<String, HtmlElementDescriptorImpl> decls = new HashMap<>();
    XmlElementDescriptor[] elements = myDelegate == null ? XmlElementDescriptor.EMPTY_ARRAY : myDelegate.getRootElementsDescriptors(null);

    for (XmlElementDescriptor element : elements) {
      decls.put(
        myCaseSensitive ? element.getName() : StringUtil.toLowerCase(element.getName()),
        createHtmlElementDescriptor(element)
      );
    }
    return decls;
  }
private HashMap<String, HtmlElementDescriptorImpl> doBuildCachedMap()