raw Pojo Invoker Function From Function Type
fun rawPojoInvokerFunctionFromFunctionType( primitive: Primitive, functionType: A_Type, vararg outerTypes: A_Type): A_RawFunction
Content copied to clipboard
Synthesize a raw function. It should have the given function type, and expect to be instantiated as a function with the given types of outers. It should also be Primitive, with failure code to invoke the HookType.RAISE_JAVA_EXCEPTION_IN_AVAIL if a Java Throwable is caught and made available in the failure variable.
Return
An A_RawFunction with the exact given signature.
Parameters
primitive
The Primitive to invoke.
function Type
The A_Type of the A_Functions that will be created from the A_RawFunction that is produced here.
outer Types
The A_Types of the outers that will be supplied later to the raw function to make an A_Function.