user=> (import 'java.io.File) user=> (bases java.io.File) (java.lang.Object java.io.Serializable java.lang.Comparable)
(defn bases "Returns the immediate superclass and direct interfaces of c, if any" {:added "1.0"} [^Class c] (when c (let [i (.getInterfaces c) s (.getSuperclass c)] (not-empty (if s (cons s i) i)))))
Comments top
No comments for bases. Log in to add a comment.