(clojure-sources-in-jar jar-file)
Returns a sequence of filenames ending in .clj or .cljc found in the JAR file.
Source
(defn clojure-sources-in-jar
"Returns a sequence of filenames ending in .clj or .cljc found in the JAR file."
[^JarFile jar-file]
(filter #(or (.endsWith ^String % ".clj") (.endsWith ^String % ".cljc"))
(filenames-in-jar jar-file)))