private @NotNull ByHostClass byHostClass(@NotNull XmlNamedReferenceHost element) {
    return myByHostClass.computeIfAbsent(element.getClass(), NamedReferenceProviders::byHostClassInner);
  }
private @NotNull ByHostClass byHostClass(@NotNull XmlNamedReferenceHost element)