Field
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Will get the default value in a situation like final case class Person(first: String = "F")
(returns "F"). If you use -Yretain-trees
compiler flag, you might be able to retrieve the actual expr "F". This is not guaranteed, and if the actual expr itself can not be retrieved, you will get a reference to a function that returns the default value.
Will get the default value in a situation like final case class Person(first: String = "F")
(returns "F"). If you use -Yretain-trees
compiler flag, you might be able to retrieve the actual expr "F". This is not guaranteed, and if the actual expr itself can not be retrieved, you will get a reference to a function that returns the default value.
Attributes
Go from a product type to its field. final case class Person(first: String, last: String)
Go from a product type to its field. final case class Person(first: String, last: String)
field.fromParent(p) -> p.first
Attributes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Child
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Entity
Meant to be used in the following manner:
Meant to be used in the following manner:
Entity in this entity could be any of Generic, ProductGeneric, SumGeneric, Field, Case
val untyped: Entity[?] = ???
type A
val typed: Entity[A] = untyped.typedAs[A]
Entity in this case could be any of Generic, ProductGeneric, SumGeneric, Field, Case
Attributes
- Inherited from:
- Entity