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.
(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.
(jconstructors clazz)
Returns a sequence of all constructors of given java class.
Returns a sequence of all constructors of given java class.
(jinfo clazz)
Shows all public constructors and methods of given java class
Shows all public constructors and methods of given java class
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close