Liking cljdoc? Tell your friends :D

orchard.java

Info for Java classes and members

Info for Java classes and members
raw docstring

add-classpath!clj

(add-classpath! url)

Similar to the deprecated clojure.core/add-classpath, adds the URL to the classpath and returns it if successful, or nil otherwise.

Similar to the deprecated `clojure.core/add-classpath`, adds the URL to the
classpath and returns it if successful, or nil otherwise.
sourceraw docstring

cacheclj

source

cache?clj

(cache? info)

Whether to cache the class info; this will be true if the source file is effectively immutable, and false otherwise. Specifically, this returns true if no source file is available, or if the source file is in a jar/zip archive.

Whether to cache the class info; this will be true if the source file is
effectively immutable, and false otherwise. Specifically, this returns true if
no source file is available, or if the source file is in a jar/zip archive.
sourceraw docstring

class-infoclj

(class-info class)

For the class symbol, return (possibly cached) Java class and member info. Members are indexed first by name, and then by argument types to list all overloads.

For the class symbol, return (possibly cached) Java class and member info.
Members are indexed first by name, and then by argument types to list all
overloads.
sourceraw docstring

class-info*clj

(class-info* class)

For the class symbol, return Java class and member info. Members are indexed first by name, and then by argument types to list all overloads.

For the class symbol, return Java class and member info. Members are indexed
first by name, and then by argument types to list all overloads.
sourceraw docstring

javadoc-urlclj

(javadoc-url class)
(javadoc-url class member argtypes)

Return the relative .html javadoc path and member fragment.

Return the relative `.html` javadoc path and member fragment.
sourceraw docstring

jdk-resource-urlclj

(jdk-resource-url & path-segments)

Returns url to file at PATH-SEGMENTS relative to jdk-root.

Returns url to file at PATH-SEGMENTS relative to `jdk-root`.
sourceraw docstring

jdk-rootclj

The JDK root directory (parent of the java.home JRE directory)

The JDK root directory (parent of the `java.home` JRE directory)
sourceraw docstring

jdk-sourcesclj

The JDK sources path. If available, this is added to the classpath. By convention, this is the file src.zip in the root of the JDK directory.

The JDK sources path. If available, this is added to the classpath. By
convention, this is the file `src.zip` in the root of the JDK directory.
sourceraw docstring

jdk-toolsclj

The JDK tools.jar path. If available, this is added to the classpath.

The JDK `tools.jar` path. If available, this is added to the classpath.
sourceraw docstring

member-infoclj

(member-info class member)

For the class and member symbols, return Java member info. If the member is overloaded, line number and javadoc signature are that of the first overload. If the member's definition is in a superclass, info returned will be for the implemention. If the member is an instance member, this is prepended to its arglists.

For the class and member symbols, return Java member info. If the member is
overloaded, line number and javadoc signature are that of the first overload.
If the member's definition is in a superclass, info returned will be for the
implemention. If the member is an instance member, `this` is prepended to its
arglists.
sourceraw docstring

Reflectedcljprotocol

reflect-infoclj

(reflect-info o)
source

resolve-classclj

(resolve-class ns sym)

Given namespace and class symbols, search the imported classes and return class info. If not found, search all classes on the classpath (requires a qualified name).

Given namespace and class symbols, search the imported classes and return
class info. If not found, search all classes on the classpath (requires a
qualified name).
sourceraw docstring

resolve-memberclj

(resolve-member ns sym)

Given namespace and member symbols, search the imported classes and return a list of each matching member's info.

Given namespace and member symbols, search the imported classes and return
a list of each matching member's info.
sourceraw docstring

resolve-symbolclj

(resolve-symbol ns sym)

Given a namespace and a class or member symbol, resolve the class/member. Class symbols, constructors, and static calls are resolved to the class unambiguously. Instance members are resolved unambiguously if defined by only one imported class. If multiple imported classes have a member by that name, a map of class names to member info is returned as :candidates.

Given a namespace and a class or member symbol, resolve the class/member.
Class symbols, constructors, and static calls are resolved to the class
unambiguously. Instance members are resolved unambiguously if defined by only
one imported class. If multiple imported classes have a member by that name, a
map of class names to member info is returned as `:candidates`.
sourceraw docstring

source-infoclj

When tools.jar is available, return class info from its parsed source; otherwise return nil.

When `tools.jar` is available, return class info from its parsed source;
otherwise return nil.
sourceraw docstring

type-infoclj

(type-info class)

For the class or interface symbol, return Java type info. If the type has defined contructors, the line and column returned will be for the first of these for more convenient jump navigation.

For the class or interface symbol, return Java type info. If the type has
defined contructors, the line and column returned will be for the first of
these for more convenient `jump` navigation.
sourceraw docstring

typesymclj

(typesym o)
source

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

× close