API for reflect
- ()
clojure-contrib is now deprecated
clojure-contrib is no longer being developed or maintained.
Rather than a single, monolithic, contributions library, Clojure now has
a set of separate libraries for each unit of functionality. The libraries
are in the Clojure GitHub organization at
https://github.com/clojure.
API documentation of the libraries can be found at
https://clojure.github.io.
If you're looking for a specific function or namespace from the old
clojure-contrib, see
"Where Did Clojure.Contrib Go".
Full namespace name:
clojure.contrib.reflect
Overview
Public Variables and Functions
call-method
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (call-method klass method-name params obj & args)
Calls a private or protected method.
params is a vector of classes which correspond to the arguments to
the method e
obj is nil for static methods, the instance object otherwise.
The method-name is given a symbol or a keyword (something Named).
Source
get-field
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (get-field klass field-name obj)
Access to private or protected field. field-name is a symbol or
keyword.
Source