public FormattingAttributes getAttributes() {
if (attributes == null) {
Wrap wrap = this.wrap == null ? null : this.wrap.getValue();
Indent indent = this.indent == null ? null : this.indent.getValue();
Spacing spacingBefore = this.spacingBefore == null ? null : this.spacingBefore.getValue();
Spacing spacingAfter = this.spacingAfter == null ? null : this.spacingAfter.getValue();
attributes = new FormattingAttributes(wrap, indent, spacingBefore, spacingAfter);
}
return attributes;
}