Field definition in a case class
Field definition in a case class
name of field
type of field
default value of field
comment for field
Generates Scala code for a big (> 22 field) case class.
Generates Scala code for a big (> 22 field) case class. Generated case class chunks fields into groups of 22 and creates a child case class for each chunk. Each generated child case class is named using base class name with an incremented sequence number appended. Generated code includes everything that would normally be implemented by compiler for a case class, including: 1. copy method 2. Product methods (productElement, productArity & productIterator) 3. Companion object with apply method (and child case classes)
the name of the case class
one or more case class fields
Generates Scala code for a case class.
Generates Scala code for a case class. If the case class has less than 22 fields then a normal case class is generated. If the case class has more than 22 fields a big case class is generated. Generated case class chunks fields into groups of 22 and creates a child case class for each chunk. Each generated child case class is named using base class name with an incremented sequence number appended. Generated code includes everything that would normally be implemented by compiler for a case class, including: 1. copy method 2. Product methods (productElement, productArity & productIterator) 3. Companion object with apply method (and child case classes)
the name of the case class
one or more case class fields