private @Nullable Spacing getStartTagDependantSpacingOrNull(XmlTag tag, boolean enabled, int spaces) {
    if (!enabled) return null;
    TextRange range = getStartTagRange(tag);
    if (range == null) return null;
    return Spacing.createDependentLFSpacing(spaces, spaces, range, getShouldKeepLineBreaks(), getKeepBlankLines());
  }
private @Nullable Spacing getStartTagDependantSpacingOrNull(XmlTag tag, boolean enabled, int spaces)