@Override
  public @Nullable Spacing getSpacingAfterLastAttribute(XmlAttribute attribute) {
    XmlTag parent = attribute.getParent();
    final int spaces = addSpaceIntoEmptyTag() && parent.isEmpty() && FormatterUtil.isFollowedBy(attribute.getNode(), XmlTokenType.XML_EMPTY_ELEMENT_END) ? 1 : 0;
    boolean isEnabled = myHtmlCodeStyleSettings.HTML_NEWLINE_AFTER_LAST_ATTRIBUTE == CodeStyleSettings.HtmlTagNewLineStyle.WhenMultiline;
    return getStartTagDependantSpacingOrNull(parent, isEnabled, spaces);
  }
@Override
  public @Nullable Spacing getSpacingAfterLastAttribute(XmlAttribute attribute)