Liking cljdoc? Tell your friends :D

clojure-repl.java

Useful functions for interacting with java classes/objects. You can use these functions to explore public API of java classes, especially jmethods and jinfo can be useful.

Useful functions for interacting with java classes/objects.
You can use these functions to explore public API of java classes,
especially `jmethods` and `jinfo` can be useful.
raw docstring

ancestorsclj

(ancestors clazz-or-instance)

Prints all ancestors of given class or instance (calling class automatically) using a nice inheritance tree visualization. Classes are enclosed with angle brackets.

Prints all ancestors of given class or instance (calling `class` automatically)
using a nice inheritance tree visualization.
Classes are enclosed with angle brackets.
sourceraw docstring

inheritance-treeclj

(inheritance-tree clazz)
(inheritance-tree clazz sort-fn)
source

jconstructorsclj

(jconstructors clazz)

Returns a sequence of all constructors of given java class.

Returns a sequence of all constructors of given java class.
sourceraw docstring

jinfoclj

(jinfo clazz)

Shows all public constructors and methods of given java class

Shows all public constructors and methods of given java class
sourceraw docstring

jmethodsclj

(jmethods clazz)
(jmethods clazz include-deprecated?)

Returns a sequence of all public methods of given java class whether directly declared or inherited from parent(s). Deprecated methods are not included by default. You can use 2-arity version to include deprecated method.

Returns a sequence of all _public_ methods of given java class
whether directly declared or inherited from parent(s).
Deprecated methods are not included by default.
You can use 2-arity version to include deprecated method.
sourceraw docstring

(print-tree tree)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close