generates

infix inline fun <T> RuleNameTarget.generates(value: T): GenerationSpec<T>

Generates value for this name target and infers the target value type from value.


infix fun <T> RuleTarget<T>.generates(value: T): GenerationSpec<T>

Generates value for this rule target.


infix fun <T> RuleTarget<T>.generates(auto: Auto): GenerationSpec<T>

Uses Fiktion's automatic generation for this rule target.


Uses Fiktion's automatic generation for each element of this collection rule target.


@JvmName(name = "generatesAutoMap")
infix inline fun <Key, Value, MapType : Map<Key, Value>> RuleTarget<MapType>.generates(auto: Auto): MapGenerationSpec<Key, Value, MapType>

Uses Fiktion's automatic generation for each key and value of this map rule target.


Deprecated (with error)

Use the reified generates(auto) overload.

Uses Fiktion's automatic generation for each element of this collection rule target.

This low-level overload is intended for callers that already carry a KType. The caller must keep elementType and the generator element type consistent.


Deprecated (with error)

Use the reified generates(auto) overload.

Uses Fiktion's automatic generation for each key and value of this map rule target.

This low-level overload is intended for callers that already carry KType values. The caller must keep the types and the generator types consistent.