ContractKind

The structural kind of a Contract, mirroring the subset of kotlinx-serialization's SerialKind taxonomy that matters for wire compatibility.

Entries

Link copied to clipboard

A regular @Serializable class or data class.

Link copied to clipboard

A serializable object (singleton; no elements on the wire).

Link copied to clipboard

An enum class; carries a set of value names.

Link copied to clipboard

A sealed hierarchy; carries a discriminator and a closed subtype map.

Link copied to clipboard

An open polymorphic hierarchy resolved via a SerializersModule.

Link copied to clipboard

A type the extractor could not faithfully analyze (unknown SerialKind, unresolved contextual/custom serializer, or an extraction failure). Recorded as an explicit coverage gap rather than crashing or being silently dropped (design §10) — never assumed safe.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.