An example of how you can create an AST from #cljKondo analysis and rewrite-clj nodes:

github.com/clj-kondo/clj-kondo

#clojure