scala.tools.nsc.typechecker
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
Add the synthetic methods to case classes.
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