Dispatch On Info
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 = "")
Properties
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
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.