String (final XmlAttribute xmlAttribute, final XmlTag tagAtCaret, final boolean emptyTag) { return getClosingQuote(xmlAttribute) + (emptyTag ? CheckEmptyTagInspection.isTagWithEmptyEndNotAllowed(tagAtCaret) ? "></" + tagAtCaret.getName() + ">" : "/>" : ">"); }