Liking cljdoc? Tell your friends :D

compliment.sources.class-members

Completion for both static and non-static class members.

Completion for both static and non-static class members.
raw docstring

camel-case-matches?clj

(camel-case-matches? prefix member-name)

Tests if prefix matches the member name following camel case rules. Thus, prefix getDeF matches member getDeclaredFields.

Tests if prefix matches the member name following camel case rules.
Thus, prefix `getDeF` matches member `getDeclaredFields`.
sourceraw docstring

class-member-symbol?clj

(class-member-symbol? x)

Tests if a symbol name looks like a non-static class member.

Tests if a symbol name looks like a non-static class member.
sourceraw docstring

classname-docclj

(classname-doc class)
source

create-members-docclj

(create-members-doc members)

Takes a list of members (presumably with the same name) and turns them into a docstring.

Takes a list of members (presumably with the same name) and turns
them into a docstring.
sourceraw docstring

doc-method-parametersclj

(doc-method-parameters parameters)

Takes a list of method parameters and stringifies it.

Takes a list of method parameters and stringifies it.
sourceraw docstring

get-all-membersclj

(get-all-members ns context-class)

Returns all non-static members for a given namespace.

Returns all non-static members for a given namespace.
sourceraw docstring

members-cacheclj

Stores cache of all non-static members for every namespace.

Stores cache of all non-static members for every namespace.
sourceraw docstring

members-candidatesclj

(members-candidates prefix ns context)

Returns a list of Java non-static fields and methods candidates.

Returns a list of Java non-static fields and methods candidates.
sourceraw docstring

members-docclj

(members-doc member-str ns)

Documentation function for non-static members.

Documentation function for non-static members.
sourceraw docstring

populate-members-cacheclj

(populate-members-cache ns classes imported-classes-cnt)

Populate members cache of class members for ns from the given list of classes. imported-classes-cnt is a number that indicates the current number of imported classes in this namespace.

Populate members cache of class members for `ns` from the given list of
classes. `imported-classes-cnt` is a number that indicates the current number
of imported classes in this namespace.
sourceraw docstring

populate-static-members-cacheclj

(populate-static-members-cache class)

Populates static members cache for a given class.

Populates static members cache for a given class.
sourceraw docstring

resolve-static-memberclj

(resolve-static-member member-str ns)

Given a string representation of a static member returns Member object.

Given a string representation of a static member returns Member object.
sourceraw docstring

static-member-docclj

(static-member-doc member-str ns)

Given a member name and class returns its docstring.

Given a member name and class returns its docstring.
sourceraw docstring

static-member-symbol?clj

(static-member-symbol? x)

Tests if prefix looks like a static member symbol.

Tests if prefix looks like a static member symbol.
sourceraw docstring

static-membersclj

(static-members class)

Returns all static members for a given class.

Returns all static members for a given class.
sourceraw docstring

static-members-cacheclj

Stores cache of all static members for every class.

Stores cache of all static members for every class.
sourceraw docstring

static-members-candidatesclj

(static-members-candidates prefix ns context)

Returns a list of static member candidates.

Returns a list of static member candidates.
sourceraw docstring

static?clj

(static? member)

Tests if class member is static.

Tests if class member is static.
sourceraw docstring

try-get-object-classclj

(try-get-object-class ns context)

Tries to get the type of the object from the context, which the member will be applied to. Object should be a symbol resolving to a Var or have a type tag.

Tries to get the type of the object from the context, which the member will be
applied to. Object should be a symbol resolving to a Var or have a type tag.
sourceraw docstring

type-to-pretty-stringclj

(type-to-pretty-string t)

Takes a type (either a class or a primitive) and returns it's human-readable name.

Takes a type (either a class or a primitive) and returns it's
human-readable name.
sourceraw docstring

update-cacheclj

(update-cache ns)
(update-cache ns context-class)

Updates members cache for a given namespace if necessary.

Updates members cache for a given namespace if necessary.
sourceraw docstring

update-static-cacheclj

(update-static-cache class)

Updates static members cache for a given class if necessary.

Updates static members cache for a given class if necessary.
sourceraw docstring

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

× close