FieldHandlerByRuntimeClass

Constructors

Link copied to clipboard
constructor(kClass: KClass<T>, execution: FieldHandlerExecution<*>)

Properties

Link copied to clipboard
open override val execution: FieldHandlerExecution<*>

Execution to handle conversion. Should not throw if accepts returns true Called for each property for which accepts returned true

Functions

Link copied to clipboard
open override fun accepts(value: Any?, property: KProperty<*>): Boolean

Tells if this handler accepts the given property Called for each variable in the cells executed by users, except those names are starting from TEMP_PROPERTY_PREFIX or those that have been already consumed by another handler

Link copied to clipboard
open fun finalize(host: KotlinKernelHost)

Called one time per cell after all the variables have been processed, and only if this handler accepted at least one variable