How do I find all deprecated (or any other annotation) methods in a java class using clojure?
(filter #(.isAnnotationPresent % java.lang.Deprecated) (.getMethods (type java.util.Date)))
returns empty list because (type java.util.Date) returns java.lang.Class. How do I get the correct class ?