DispatchOnInfo

data class DispatchOnInfo(val typeName: String, val codecName: String, val dispatchProperty: String, val poetClassName: ClassName, val innerTypeName: String, val isValueClass: Boolean = true, val constructorParams: List<DiscriminatorParam> = emptyList(), val sealedCodecSimpleName: String = "", val sealedPackage: String = "")

Constructors

Link copied to clipboard
constructor(typeName: String, codecName: String, dispatchProperty: String, poetClassName: ClassName, innerTypeName: String, isValueClass: Boolean = true, constructorParams: List<DiscriminatorParam> = emptyList(), sealedCodecSimpleName: String = "", sealedPackage: String = "")

Properties

Link copied to clipboard
Link copied to clipboard

All constructor parameters with their wire sizes (for data class discriminators).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True if the discriminator is a value class (single constructor parameter).

Link copied to clipboard
val poetClassName: ClassName
Link copied to clipboard

Simple name of the sealed interface dispatch codec (e.g., "PngChunkCodec").

Link copied to clipboard

Package of the sealed interface.

Link copied to clipboard

Total wire bytes for the discriminator type.

Link copied to clipboard