Liking cljdoc? Tell your friends :D

orchard.java

Info for Java classes and members

Info for Java classes and members
raw docstring

cacheclj

source

cache-initializerclj

On startup, cache info for the most commonly referenced classes.

This is a def for allowing others to wait for this workload to complete (can be useful sometimes).

On startup, cache info for the most commonly referenced classes.

This is a def for allowing others to wait for this workload to complete (can be useful sometimes).
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

ensure-jdk-sourcescljdeprecated

(ensure-jdk-sources)
source

initialize-cache-silently?clj

Should #'cache-initializer refrain from printing to System/out?

Should `#'cache-initializer` refrain from printing to `System/out`?
sourceraw docstring

javadoc-base-urlsclj

Copied from clojure.java.javadoc. These are the base urls for javadocs from clojure.java.javadoc/*core-java-api*. It is here for two reasons:

  1. Add Java 13+ to this list
  2. Backport newer data to older Clojure releases
Copied from clojure.java.javadoc. These are the base urls for
javadocs from `clojure.java.javadoc/*core-java-api*`. It is here for
two reasons:
1. Add Java 13+ to this list
2. Backport newer data to older Clojure releases
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-findcljdeprecated

(jdk-find _)

Search common JDK path configurations for a specified file name and return a URL if found. This accommodates java.home being set to either the JDK root (JDK9+) or a JRE directory within this (JDK 8), and searches both the home and lib directories.

Search common JDK path configurations for a specified file name and return a
URL if found. This accommodates `java.home` being set to either the JDK root
(JDK9+) or a JRE directory within this (JDK 8), and searches both the home and
`lib` directories.
sourceraw docstring

jdk-sourcescljdeprecated

source

jdk-toolsclj

The tools.jar path, for JDK8 and earlier. If found on the existing classpath, this is the corresponding classpath entry. Otherwise, if available, this is added to the classpath.

The `tools.jar` path, for JDK8 and earlier. If found on the existing
classpath, this is the corresponding classpath entry. Otherwise, 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

module-nameclj

On JDK9+, return module name from the class if present; otherwise return nil

On JDK9+, return module name from the class if present; otherwise return nil
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-javadoc-pathclj

(resolve-javadoc-path path)

Resolve a relative javadoc path to a URL and return as a map. Prefer javadoc resources on the classpath; then use online javadoc content for core API classes. If no source is available, return the relative path as is.

Resolve a relative javadoc path to a URL and return as a map. Prefer javadoc
resources on the classpath; then use online javadoc content for core API
classes. If no source is available, return the relative path as is.
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)

Return the info map for a Java member symbol.

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.

Return the info map for a Java member symbol.

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

resolve-typeclj

(resolve-type ns sym)

Return type info, for a Java class, interface or record.

Return type info, for a Java class, interface or record.
sourceraw docstring

source-infoclj

(source-info class)

Ensure that JDK sources are visible on the classpath if present, and return class info from its parsed source if available.

Ensure that JDK sources are visible on the classpath if present, and return
class info from its parsed source if available.
sourceraw docstring

source-info*clj

When a Java parser is available, return class info from its parsed source; otherwise return nil.

When a Java parser is available, return class info from its parsed source;
otherwise return nil.
sourceraw docstring

trim-one-dotclj

(trim-one-dot s)
source

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