@Override
  public @NotNull Collection<? extends T> getVariants(final @NotNull ConvertContext context) {
    final DomElement reference = context.getInvocationElement();
    final DomElement scope = reference.getManager().getResolvingScope((GenericDomValue)reference);
    return (Collection<T>)myResolveCache.get(scope).getValue().values();
  }
@Override
  public @NotNull Collection<? extends T> getVariants(final @NotNull ConvertContext context)