public void setName(String name) {
        this.name = name;
    }
WARNING!&nbsp;Only to be used by deserializers!&nbsp;Sets the name of this SpanTree instance.

@param name the name to set for this SpanTree instance.
document/src/main/java/com/yahoo/document/annotation/SpanTree.java