SubtypeRendererTypeHandler
class SubtypeRendererTypeHandler(superType: KClass<*>, val execution: ResultHandlerExecution) : PrecompiledRendererTypeHandler
Renders any object of superType (including subtypes). If execution is ResultHandlerCodeExecution, this renderer may be optimized by pre-compilation (unlike ExactRendererTypeHandler).
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
Returns true if this renderer accepts result, false otherwise
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns method code for rendering
Link copied to clipboard
Replace variables and return the result.