public List<TreeCursor> remainingSiblings() {
        List<TreeCursor> remaining = new ArrayList<>();
        TreeCursor nextSibling = getNextSibling();
        while (nextSibling != null) {
            remaining.add(nextSibling);
            nextSibling = nextSibling.getNextSibling();
        }
        return remaining;
    }
@return All siblings after this cursor, in order.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeCursor.java