void setInvalid() {
        // invalidate ourselves:
        super.setInvalid();
        // invalidate all our children:
        for (SpanNode node : children()) {
            node.setInvalid();
        }
    }
Create a span, add it to this list and return it
document/src/main/java/com/yahoo/document/annotation/SpanList.java