UnsafeInvocationContext

Invocation context passed to unsafe callbacks.

Properties

Link copied to clipboard

Raw argument array.

Link copied to clipboard

Method receiver instance, or null for static methods.

Link copied to clipboard

Method currently being invoked.

Link copied to clipboard

Bound script owner for this invocation.

Functions

Link copied to clipboard
fun cancel()

Cancels current invocation. Return value becomes type default if not overridden.

Link copied to clipboard
fun cancelWith(returnValue: Any?)

Cancels current invocation and overrides return value immediately.

Link copied to clipboard
fun setArgument(index: Int, value: Any?)

Mutates argument at index for current invocation.

Link copied to clipboard
fun setReturnValue(returnValue: Any?)

Overrides return value in after phase.