Package-level declarations

Types

Link copied to clipboard
abstract class MapTypeConverter<S : Any, T : Any>(val sourceType: KClass<S>, val targetType: KClass<T>)

Bidirectional type converter between a source type S and a target type T.

Link copied to clipboard
actual object TypeConverterRegistry
expect object TypeConverterRegistry
actual object TypeConverterRegistry
actual object TypeConverterRegistry
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class UnsupportedDirection(val reason: String)

Marks an overridden convertTo/convertFrom STUB as intentionally unsupported, with a compile-time guiding reason. The stub body must be = unsupported(). Annotate the TOTAL method only (annotating an OrNull variant is a compile error). The annotation wins over the body: an annotated direction is treated as unsupported by the compiler regardless of body.