Skip to content

Instantly share code, notes, and snippets.

@jwhitlark
Last active July 31, 2023 18:29
Show Gist options
  • Save jwhitlark/b30882e496d1d60a5aebdcd5a2baeb9a to your computer and use it in GitHub Desktop.
Save jwhitlark/b30882e496d1d60a5aebdcd5a2baeb9a to your computer and use it in GitHub Desktop.
Find a class from the short name (requires google guava)
(take 10 (filter #(clojure.string/ends-with? % "DefaultChannelPool")
(map str (.getAllClasses (com.google.common.reflect.ClassPath/from
(.getContextClassLoader (Thread/currentThread)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment