Liking cljdoc? Tell your friends :D

hara.reflect.hierarchy


has-methodclj

(has-method method class)

Checks to see if any given method exists in a particular class

(has-method without-method String) => nil

(has-method without-method clojure.lang.PersistentArrayMap) => clojure.lang.PersistentArrayMap

Checks to see if any given method exists in a particular class

(has-method without-method
            String)
=> nil

(has-method without-method
            clojure.lang.PersistentArrayMap)
=> clojure.lang.PersistentArrayMap
raw docstring

has-overridden-methodclj

(has-overridden-method method class)

Checks to see that the method can be

(has-overridden-method without-method String) => nil

(has-overridden-method without-method clojure.lang.IPersistentMap) => clojure.lang.IPersistentMap

Checks to see that the method can be 

(has-overridden-method without-method String)
=> nil

(has-overridden-method without-method clojure.lang.IPersistentMap)
=> clojure.lang.IPersistentMap
raw docstring

methods-with-same-name-and-countclj

(methods-with-same-name-and-count method class)

methods-with-same-name-and-count

(methods-with-same-name-and-count without-method clojure.lang.IPersistentMap) => #(-> % count (= 1)) ;; (nil)

methods-with-same-name-and-count

(methods-with-same-name-and-count without-method clojure.lang.IPersistentMap)
=>  #(-> % count (= 1))  ;; (nil)

raw docstring

originsclj

(origins method)
(origins method bases)
(origins method [[super interfaces :as pair] & more] currents)

Lists all the classes tha contain a particular method

(def without-method (-> clojure.lang.PersistentArrayMap (.getDeclaredMethod "without" (into-array [Object]))))

(origins without-method) => [clojure.lang.IPersistentMap clojure.lang.PersistentArrayMap]

Lists all the classes tha contain a particular method

(def without-method
  (-> clojure.lang.PersistentArrayMap
      (.getDeclaredMethod "without"
                          (into-array [Object]))))

(origins without-method)
=> [clojure.lang.IPersistentMap
    clojure.lang.PersistentArrayMap]
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close