Liking cljdoc? Tell your friends :D

ike.cljj.internal.invoke

Wrapper API for the java.lang.invoke API. Primarily this was limited to the methods functions needed to support ike.cljj.function.

Wrapper API for the java.lang.invoke API. Primarily this was limited
to the methods functions needed to support ike.cljj.function.

array-class

(array-class clazz)

Gets the array class for the given class.

Gets the array class for the given class.
raw docstring

as-varargs

(as-varargs handle)
(as-varargs handle clazz)

Converts the passed handle to a handle that accepts varargs. If no clazz is passed, the final parameter on the handle will be checked to see if it is an array type. If it is, that class will be used. If not, an Object[] class will be used.

Converts the passed handle to a handle that accepts
varargs. If no clazz is passed, the final parameter
on the handle will be checked to see if it is an array
type. If it is, that class will be used. If not, an
Object[] class will be used.
raw docstring

bind

(bind handle arg)

Binds 'arg' as the first parameter to 'handle' returning a new handle.

Binds 'arg' as the first parameter to 'handle'
returning a new handle.
raw docstring

filter-args

(filter-args target & filters)

Creates a new method handle that will pass each argument, in sequence, to each arity-1 filter handle. The results of each filter handle will replace the original arguments.

Creates a new method handle that will pass each argument, in sequence,
to each arity-1 filter handle. The results of each filter handle
will replace the original arguments.
raw docstring

invoke

(invoke handle & parms)

Invokes the method handle with any passed parameters.

Invokes the method handle with any passed parameters.
raw docstring

lookup


method-type

(method-type ret & parms)

Finds or creates a method type with the given return type 'ret' and parameters 'parms'.

Finds or creates a method type with the given return type 'ret'
and parameters 'parms'.
raw docstring

proxy-sam

(proxy-sam sam handle)

Proxies a SAM (Single Abstrace Method) type by wrapping the passed method handle.

Proxies a SAM (Single Abstrace Method) type by wrapping
the passed method handle.
raw docstring

static-handle

(static-handle receiver name type)

Looks up a static method handle.

  • receiver is the class that holds the method
  • name is the name of the method
  • type is the method type
Looks up a static method handle.
- receiver is the class that holds the method
- name is the name of the method
- type is the method type
raw docstring

unwrap

(unwrap handle)

Converts a method type so that any parameters that were wrappers are now primitives.

Converts a method type so that any parameters that were wrappers
are now primitives.
raw docstring

virtual-handle

(virtual-handle receiver name type)

Looks up a virtual method handle.

  • receiver is the class that holds the method
  • name is the name of the method
  • type is the method type
Looks up a virtual method handle.
- receiver is the class that holds the method
- name is the name of the method
- type is the method type
raw docstring

wrap

(wrap handle)

Converts a method type so that any parameters that were primitives are now wrappers.

Converts a method type so that any parameters that were primitives
are now wrappers.
raw docstring

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

× close