public static void renameXmlTag(final Editor editor, final @NotNull PsiElement element, final @NotNull XmlTag tag) {
    final XmlTagRenameDialog dialog = new XmlTagRenameDialog(editor, element, tag);
    dialog.show();
  }
public static void renameXmlTag(final Editor editor, final @NotNull PsiElement element, final @NotNull XmlTag tag)