store/[org.clojure/clojure "1.8.0"] clj::clojure.core/bases

Official Documentation

Add notes
Arities
==================================================
   [c]

Docstring
==================================================
  Returns the immediate superclass and direct interfaces of c, if any

Source

(defn bases
  "Returns the immediate superclass and direct interfaces of c, if any"
  {:added "1.0"
   :static true}
  [^Class c]
  (when c
    (let [i (seq (.getInterfaces c))
          s (.getSuperclass c)]
      (if s (cons s i) i))))

Example 1

Edit
(import 'java.io.File)
;; => java.io.File

(bases java.io.File)
;; => (java.lang.Object java.io.Serializable java.lang.Comparable)

Uses on crossclj