Determine if a given class type is a case class.
Determine if a given class type is a case class.
A class is NOT considered as a case class if one of the following criteria is met:
1. the class is NOT the same as or the super class of class type Product.
2. the class is the same as or the super class of class type Option[_.
3. the class is the same as or the super class of class type List.
4. the class starts with scala.Tuple
.
5. the class starts with scala.util.Either
.
runtime representation of class type.