Package-level declarations
Types
Thrown when Fiktion cannot generate a value for the requested target.
Marks APIs that are expected to evolve before Fiktion reaches 1.0.
Runtime context passed to custom generators.
Runtime nullability information for a generated property.
Runtime path to a generated value.
Runtime description of a generated property.
Extension point that contributes reusable Fiktion rules.
Builder exposed to add-ons for contributing reusable low-precedence rules.
Runtime construction metadata for an array type that Fiktion can generate automatically.
Builder exposed when creating isolated Fiktion instances.
Typed key for configuring built-in and add-on generators.
Typed generator configuration value.
Thrown when Fiktion configuration or DSL input is invalid.
Builder exposed when updating the global Fiktion configuration.
Runtime construction metadata for an enum type.
Constructor argument produced while generating an object.
Constructor argument marker that asks generated metadata to use the property's default value.
Runtime construction metadata for a type that Fiktion can generate automatically.
Runtime construction metadata for one generated object property.
Constructor argument containing a generated value.
Shared rule registration surface exposed by Fiktion builders.
Runtime construction metadata for a sealed type.
Restorable snapshot of the global Fiktion configuration.
Runtime metadata for a type that Fiktion can generate automatically.
Runtime construction metadata for a value-like type backed by one generated value.
Configured generation rule for values of T.
Custom value generator executed with a FakeContext.
Probability value represented as a number from 0.0 to 1.0.
Target selected by a property-name rule before its value type is known.
Target selected by a rule declaration.
Context for generating a value from the requested type's type arguments.
Generator used by type-family rules.
Target selected by a type-family rule declaration.
Strategy for generating distinct values for set-like collections.
Properties
Targets elements generated for the current collection root.
Targets elements generated for the collection selected by this target.
Converts this floating-point percentage to a Probability.
Converts this integer percentage to a Probability.
Functions
Creates a child fake context with separate seed and public index values.
Appends next to this property path.
Creates a nested property path using /.
Generates fake data for T using the global Fiktion configuration.
Generates fake data for T using this Fiktion instance.
Returns whether the generated constructor argument at index asks Kotlin to use the property's default value.
Returns the generated constructor argument value at index.
Generates value for this rule target.
Uses Fiktion's automatic generation for this rule target.
Uses the constructor default value for this rule target.
Uses Fiktion's automatic generation for this type-family target.
Generates values for this name target and infers the target value type from generator.
Generates values for this rule target by invoking generator.
Generates values for this type-family target by invoking generator.
Generates byte values within range.
Generates character values within range.
Generates double values within range.
Generates float values within range.
Generates integer values within range.
Generates long values within range.
Generates short values within range.
Generates unsigned byte values within range.
Generates unsigned integer values within range.
Generates unsigned long values within range.
Generates unsigned short values within range.
Generates one value from values.
Generates candidate elements for a set-like collection according to strategy.
Creates a typed generator configuration value for this key.
Creates a typed generator configuration value whose closed range is fixed to value.
Groups declarations for this rule target.
Configures built-in or add-on generator behavior for this rule target.