generatesEach
infix fun <Element, CollectionType : Collection<Element>> RuleTarget<CollectionType>.generatesEach(generator: Generator<Element>): CollectionGenerationSpec<Element, CollectionType>
Generates each element for this collection rule target by invoking generator.
infix inline fun <Key, Value, MapType : Map<Key, Value>> RuleTarget<MapType>.generatesEach(noinline generator: Generator<Pair<Key, Value>>): MapEntrySpec<Key, Value, MapType>
Generates each entry for this map rule target by invoking generator.
fun <Key, Value, MapType : Map<Key, Value>> RuleTarget<MapType>.generatesEach(generator: Generator<Pair<Key, Value>>, keyType: KType?, valueType: KType?): MapEntrySpec<Key, Value, MapType>
Deprecated (with error)
Use the reified generatesEach(generator) overload.
Generates each entry for this map rule target by invoking generator.
This low-level overload is intended for callers that already carry KType values. The caller must keep the types and the generator types consistent.