@Override
    public DocNode set(int index, @NotNull DocNode node) {
        return super.set(index, reparent(node));
    }
@ Override public DocNode set ( int index , @ NotNull DocNode node ) { return super . set ( index , reparent ( node ) ) ; }
/*
reparenting