case classVariant(tpe: scala.reflect.api.JavaUniverse.Type, sub: IndexedSeq[scala.reflect.api.JavaUniverse.Type]) extends Shape with scala.Product with Serializable
A variant is a shape from a sealed trait resolving to a fixed number of implementing case classes.
tpe
the trait type
sub
the sub types. This must be Vec[Type] and cannot be Vec[Shape] because it is the circuit
breaker point for self referential structures.
Linear Supertypes
Serializable, Serializable, scala.Product, Equals, Shape, AnyRef, Any
A variant is a shape from a sealed trait resolving to a fixed number of implementing case classes.
the trait type
the sub types. This must be
Vec[Type]
and cannot beVec[Shape]
because it is the circuit breaker point for self referential structures.