(arg-params ele access)
arguments for getters and setters of fields
(-> (query/query-class String ["hash" :#]) (field/arg-params :set)) => [java.lang.String Integer/TYPE]
(-> (query/query-class String ["hash" :#]) (field/arg-params :get)) => [java.lang.String]
arguments for getters and setters of fields (-> (query/query-class String ["hash" :#]) (field/arg-params :set)) => [java.lang.String Integer/TYPE] (-> (query/query-class String ["hash" :#]) (field/arg-params :get)) => [java.lang.String]
(invoke-instance-field ele obj)
(invoke-instance-field ele obj val)
invokes the function on the field of an instance
(-> (query/query-class String ["hash" :#]) (field/invoke-instance-field "123")) => 48690
invokes the function on the field of an instance (-> (query/query-class String ["hash" :#]) (field/invoke-instance-field "123")) => 48690
(invoke-static-field ele cls)
(invoke-static-field ele cls val)
invokes the function on the class static field
(-> (query/query-class String ["CASE_INSENSITIVE_ORDER" :#]) (field/invoke-static-field String)) => java.lang.String$CaseInsensitiveComparator
invokes the function on the class static field (-> (query/query-class String ["CASE_INSENSITIVE_ORDER" :#]) (field/invoke-static-field String)) => java.lang.String$CaseInsensitiveComparator
(throw-arg-exception ele args)
helper macro for invoke to throw more readable messages
helper macro for invoke to throw more readable messages
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close