void (final GenericDomValue<T> genericValue, final ConvertContext context, final PsiElement newTarget) { if (newTarget instanceof XmlTag) { DomElement domElement = genericValue.getManager().getDomElement((XmlTag) newTarget); if (domElement != null) { genericValue.setStringValue(ElementPresentationManager.getElementName(domElement)); } } }