(all-ancestors cls)
returns all ancestors for a given type, itself included
(all-ancestors String) => #{java.lang.CharSequence java.io.Serializable java.lang.Object java.lang.String java.lang.Comparable}
returns all ancestors for a given type, itself included (all-ancestors String) => #{java.lang.CharSequence java.io.Serializable java.lang.Object java.lang.String java.lang.Comparable}
(all-interfaces cls)
Lists all interfaces for a class
(all-interfaces clojure.lang.AFn) => #{java.lang.Runnable java.util.concurrent.Callable clojure.lang.IFn}
Lists all interfaces for a class (all-interfaces clojure.lang.AFn) => #{java.lang.Runnable java.util.concurrent.Callable clojure.lang.IFn}
(ancestor-list cls)
(ancestor-list cls output)
Lists the direct ancestors of a class (ancestor-list clojure.lang.PersistentHashMap) => [clojure.lang.PersistentHashMap clojure.lang.APersistentMap clojure.lang.AFn java.lang.Object]
Lists the direct ancestors of a class (ancestor-list clojure.lang.PersistentHashMap) => [clojure.lang.PersistentHashMap clojure.lang.APersistentMap clojure.lang.AFn java.lang.Object]
(ancestor-tree cls)
(ancestor-tree cls output)
Lists the hierarchy of bases and interfaces of a class. (ancestor-tree Class) => [[java.lang.Object #{java.io.Serializable java.lang.reflect.Type java.lang.reflect.AnnotatedElement java.lang.reflect.GenericDeclaration}]]
Lists the hierarchy of bases and interfaces of a class. (ancestor-tree Class) => [[java.lang.Object #{java.io.Serializable java.lang.reflect.Type java.lang.reflect.AnnotatedElement java.lang.reflect.GenericDeclaration}]]
(best-match candidates cls)
finds the best matching interface or class from a list of candidates
(best-match #{Object} Long) => Object (best-match #{String} Long) => nil (best-match #{Object Number} Long) => Number
finds the best matching interface or class from a list of candidates (best-match #{Object} Long) => Object (best-match #{String} Long) => nil (best-match #{Object Number} Long) => Number
(inherits? ancestor cls)
checks if one class inherits from another
(inherits? clojure.lang.ILookup clojure.lang.APersistentMap) => true
checks if one class inherits from another (inherits? clojure.lang.ILookup clojure.lang.APersistentMap) => true
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close