Add the synthetic methods to case classes.
Does not force the info of caseclazz
(syntheticMethods: StringAdd).self
(syntheticMethods: StringFormat).self
(syntheticMethods: ArrowAssoc[SyntheticMethods]).x
(Since version 2.10.0) Use leftOfArrow
instead
(syntheticMethods: Ensuring[SyntheticMethods]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Synthetic method implementations for case classes and case objects.
Added to all case classes/objects: def productArity: Int def productElement(n: Int): Any def productPrefix: String def productIterator: Iterator[Any]
Selectively added to case classes/objects, unless a non-default implementation already exists: def equals(other: Any): Boolean def hashCode(): Int def canEqual(other: Any): Boolean def toString(): String
Special handling: protected def readResolve(): AnyRef