Liking cljdoc? Tell your friends :D

hara.reflect.core.query


all-class-membersclj

(all-class-members class)

returns the raw reflected methods, fields and constructors

(all-class-members String)

returns the raw reflected methods, fields and constructors

(all-class-members String)
raw docstring

all-instance-elementsclj

(all-instance-elements tcls icls)

returns the hierarchy of elements corresponding to a class

(all-instance-elements String nil)

returns the hierarchy of elements corresponding to a class

(all-instance-elements String nil)
raw docstring

list-class-elementsclj

(list-class-elements class)
(list-class-elements class selectors)

returns the processed reflected methods, fields and constructors

(list-class-elements String)

returns the processed reflected methods, fields and constructors

(list-class-elements String)
raw docstring

query-classclj

(query-class obj selectors)

queries the java view of the class declaration

(query-class String [#"^c" :name]) ;;=> ["charAt" "checkBounds" "codePointAt" "codePointBefore" ;; "codePointCount" "compareTo" "compareToIgnoreCase" ;; "concat" "contains" "contentEquals" "copyValueOf"]

queries the java view of the class declaration

(query-class String  [#"^c" :name])
;;=> ["charAt" "checkBounds" "codePointAt" "codePointBefore"
;;    "codePointCount" "compareTo" "compareToIgnoreCase"
;;    "concat" "contains" "contentEquals" "copyValueOf"]
raw docstring

query-hierarchyclj

(query-hierarchy obj selectors)

lists what methods could be applied to a particular instance

(query-hierarchy String [:name #"^to"]) => ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

lists what methods could be applied to a particular instance

(query-hierarchy String [:name #"^to"])
=> ["toCharArray" "toLowerCase" "toString" "toUpperCase"]
raw docstring

query-instanceclj

(query-instance obj selectors)

lists what methods could be applied to a particular instance

(query-instance "abc" [:name #"^to"]) => ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

(query-instance String [:name #"^to"]) => (contains ["toString"])

lists what methods could be applied to a particular instance

(query-instance "abc" [:name #"^to"])
=> ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

(query-instance String [:name #"^to"])
=> (contains ["toString"])
raw docstring

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

× close