@Override
    public Object @NotNull [] getVariants() {
      final XmlNSDescriptor rootTagNSDescriptor = DtdResolveUtil.getNsDescriptor(myElement);
      return rootTagNSDescriptor != null ?
             rootTagNSDescriptor.getRootElementsDescriptors(((XmlFile)getRealFile()).getDocument()):
             ArrayUtilRt.EMPTY_OBJECT_ARRAY;
    }
@Override
    public Object @NotNull [] getVariants()