CaseClassUtils
Attributes
- Graph
-
- Supertypes
- Self type
-
CaseClassUtils.type
Members list
Type members
Classlikes
Attributes
- Supertypes
- Self type
-
TypeReprIsCaseClass.type
Value members
Concrete methods
Create an instance of a case class using a tuple.
Create an instance of a case class using a tuple.
Value parameters
- tuple
-
The tuple to pass to the constructor.
Attributes
- Returns
-
An instance of the case class.
Create an instance of a case class using its primary constructor.
Create an instance of a case class using its primary constructor.
Value parameters
- args
-
The arguments to pass to the constructor.
Attributes
- Returns
-
An instance of the case class.
Check if a type is a case class.
Check if a type is a case class.
Attributes
Visit a case class and apply a function to each field using a statements cache.
Visit a case class and apply a function to each field using a statements cache.
Attributes
- Returns
-
Unit
Visit a case class and apply a function to each field using a statements cache without the value term.
Visit a case class and apply a function to each field using a statements cache without the value term.
Value parameters
- cache
-
implicit statements cache to store the generated code
- functionOnField
-
the function to apply to each field
- tpe
-
the type of the case class
Attributes
- Returns
-
Unit