API for reflect
- ()
Usage:
(ns your-namespace
(:require clojure.contrib.reflect))
Overview
Public Variables and Functions
call-method
function
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
Usage: (get-field klass field-name obj)
Access to private or protected field. field-name is a symbol or
keyword.
Source