protected @Nullable Alignment chooseAlignment(@NotNull ASTNode child,
                                                @Nullable Alignment attrAlignment,
                                                @Nullable Alignment textAlignment) {
    if (isTextNode(myNode.getElementType())) return getAlignment();
    final IElementType elementType = child.getElementType();
    if (isAttributeElementType(elementType) && myXmlFormattingPolicy.getShouldAlignAttributes()) return attrAlignment;
    if (isTextNode(elementType) && myXmlFormattingPolicy.getShouldAlignText()) return textAlignment;
    return null;
  }
protected @Nullable Alignment chooseAlignment(@NotNull ASTNode child,
                                                @Nullable Alignment attrAlignment,
                                                @Nullable Alignment textAlignment)