1.3.0 permalink Arrow_down_16x16

construct-proxy

clojure.core

  • (construct-proxy c & ctor-args)
Takes a proxy class and any arguments for its superclass ctor and
creates and returns an instance of the proxy.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core_proxy.clj:264 top

(defn construct-proxy
  "Takes a proxy class and any arguments for its superclass ctor and
  creates and returns an instance of the proxy."
  {:added "1.0"}
  [c & ctor-args]
    (. Reflector (invokeConstructor c (to-array ctor-args))))
Vars in clojure.core/construct-proxy:
Used in 0 other vars

Comments top

No comments for construct-proxy. Log in to add a comment.