@Override
  public PsiElement resolve(String o, @NotNull ConvertContext context) {
    DomElement parent = context.getInvocationElement().getParent();
    assert parent != null;
    return parent.getXmlElement();
  }
@Override
  public PsiElement resolve(String o, @NotNull ConvertContext context)