PrecompiledRendererTypeHandler

Precompiled renderer type handler. Override this interface if you want type rendering to be optimized.

Inheritors

Properties

Link copied to clipboard

Execution to handle result. Should not throw if acceptsField returns true

Link copied to clipboard

true if this type handler may be precompiled

Functions

Link copied to clipboard
open override fun accepts(value: Any?): Boolean

Returns true if this renderer accepts value, false otherwise

Link copied to clipboard
open override fun acceptsField(result: FieldValue): Boolean

Returns true if this renderer accepts result, false otherwise

Link copied to clipboard
abstract fun acceptsType(type: KClass<*>): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun precompile(methodName: String, paramName: String): Code?

Returns method code for rendering

Link copied to clipboard

Replace variables and return the result.