private static @Nullable DomFileDescription<?> restoreDomFileDescription(@NotNull DomFileIconProvider.DomTag tag) {
    Set<DomFileDescription<?>> descriptionsForTag = DomApplicationComponent.getInstance().getFileDescriptions(tag.rootTagName());

    for (DomFileDescription<?> description : descriptionsForTag) {
      if (tag.rootElementClass().equals(description.getRootElementClass().getName())) {
        return description;
      }
    }
    return null;
  }
private static @Nullable DomFileDescription<?> restoreDomFileDescription(@NotNull DomFileIconProvider.DomTag tag)