ProductType

io.scalaland.chimney.internal.compiletime.datatypes.ProductTypesPlatform.ProductType
protected object ProductType

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def exprAsInstanceOfMethod[A : Type](args: List[ListMap[String, ??]])(expr: Expr[Any]): Constructor[A]
def isCaseClass[A](implicit A: Type[A]): Boolean

Class defined with "case class"

Class defined with "case class"

Attributes

def isCaseObject[A](implicit A: Type[A]): Boolean

Class defined with "case object"

Class defined with "case object"

Attributes

def isCaseVal[A](implicit A: Type[A]): Boolean

Scala 3 enum's case without parameters (a "val" under the hood, NOT an "object")

Scala 3 enum's case without parameters (a "val" under the hood, NOT an "object")

Attributes

def isJavaBean[A](implicit A: Type[A]): Boolean

Any POJO with a public DEFAULT constructor... and at least 1 setter or var

Any POJO with a public DEFAULT constructor... and at least 1 setter or var

Attributes

def isJavaEnumValue[A : Type]: Boolean

Java enum value - not the abstract enum type, but the concrete enum value

Java enum value - not the abstract enum type, but the concrete enum value

Attributes

def isPOJO[A](implicit A: Type[A]): Boolean

Any class with a public constructor... explicitly excluding: primitives, String and Java enums

Any class with a public constructor... explicitly excluding: primitives, String and Java enums

Attributes

def parseConstructor[A : Type]: Option[Constructor[A]]
def parseExtraction[A : Type]: Option[Extraction[A]]

Inherited methods

protected def caseClassApplyDefaultScala2(idx: Int): String

Attributes

Inherited from:
ProductTypesModule (hidden)
protected def caseClassApplyDefaultScala3(idx: Int): String

Attributes

Inherited from:
ProductTypesModule (hidden)
protected def checkArguments[A : Type](parameters: Parameters, arguments: Arguments): (Arguments, Arguments)

Attributes

Inherited from:
ProductTypesModule (hidden)
final def parse[A : Type]: Option[ProductTypes.this.Product[A]]

Attributes

Inherited from:
ProductTypesModule (hidden)
final def unapply[A](tpe: Type[A]): Option[ProductTypes.this.Product[A]]

Attributes

Inherited from:
ProductTypesModule (hidden)