private static @Nullable ImageInfo getImageInfo(@NotNull XmlTag xmlTag) {
    if (HtmlReferenceProvider.SizeReference.IMAGE_TAG_NAME.equalsIgnoreCase(xmlTag.getName())) {
      return HtmlReferenceProvider.SizeReference.getImageInfo(xmlTag);
    }
    return null;
  }
private static @Nullable ImageInfo getImageInfo(@NotNull XmlTag xmlTag)