A collection of utilities around importing Java classes.
This is the unofficial new home of clojure.contrib.import-static, used for "importing" static Java methods/fields into Clojure programs.
Please note that "importing" static fields is implemented by copying them to private vars in the namespace -- this blocks inlining.
Use the following dependency line in Leiningen:
[org.baznex/imports "1.4.0"]
(Please ignore the "1.0.0" release, it was simply mis-versioned.)
Built with Leiningen v1.x.
- Original version from Clojure Contrib (hence the version string)
- Produces macros
- Added: org.baznex.imports/rename
Copyright:
- Stuart Sierra, 2008.
- Tim McCormack, 2012
- Tim McIver, 2012
Licensed under the Eclipse Public License v1.0. See <epl-v10.html>.