KFunctionAdapter
A Quarkdown Function adapted from a regular Kotlin KFunction.
Reflection metadata is read eagerly once at construction and cached as immutable state, so each call site (name lookup, parameter introspection, validator selection, invocation) is a direct field read rather than a fresh reflection scan.
Parameters
function
Kotlin function to adapt
Properties
Link copied to clipboard
Function that maps the input arguments into an output value. Arguments and parameters compliance in terms of matching types and count is not checked here. The ArgumentBindings allow looking up argument values by their parameter.
Link copied to clipboard
Declared parameters.
Link copied to clipboard
Validators that check the validity of a function call towards this function. If a condition is not met during the validation, an exception should be thrown.