@Override
    public SpanTree getSpanTree() {
        return this;
    }
Returns itself. Needed for this class to be able to be a parent of SpanNodes.

@return this SpanTree instance.
document/src/main/java/com/yahoo/document/annotation/SpanTree.java