public List<TreeCursor> findChildrenByType(TreeType... types) {
        return findChildren(c -> {
            TreeType treeType = c.getTree().getType();
            for (TreeType type : types) {
                if (treeType == type) {
                    return true;
                }
            }
            return false;
        });
    }
Recursively find every node in the tree that has the given {@code TreeType}.

@param types Types of children to return.
@return Returns the matching tree cursors.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeCursor.java