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 clazz)
Gets the array class for the given class.
Gets the array class for the given class.
(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.
(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.
(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.
(invoke handle & parms)
Invokes the method handle with any passed parameters.
Invokes the method handle with any passed parameters.
(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'.
(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.
(static-handle receiver name type)
Looks up a static method handle.
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
(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.
(virtual-handle receiver name type)
Looks up a virtual method handle.
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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close