Element representing a constructor parameter in a product type mirror.
Each entry in Made.Product.Elems tuple is a MadeFieldElem, providing the field's type, label, metadata, and default value.
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
trait GeneratedMadeElem
Members list
Type members
Types
The type that declares this field (the outer/owning type).
The type that declares this field (the outer/owning type).
Attributes
Inherited and Abstract types
The element's label (field name or subtype name, or the override provided by @name).
The element's label (field name or subtype name, or the override provided by @name).
Attributes
- Inherited from:
- MadeElem
Annotation metadata on this element, represented as a Tuple of Meta @ann entries. When no MetaAnnotation annotations are present, Metadata = EmptyTuple. When annotations are present, Metadata becomes (Meta @Ann1, Meta @Ann2, ...). Query via hasAnnotation and getAnnotation.
Annotation metadata on this element, represented as a Tuple of Meta @ann entries. When no MetaAnnotation annotations are present, Metadata = EmptyTuple. When annotations are present, Metadata becomes (Meta @Ann1, Meta @Ann2, ...). Query via hasAnnotation and getAnnotation.
Attributes
- Inherited from:
- MadeElem
Value members
Abstract methods
Reads this field's value from an instance of the declaring type.
Reads this field's value from an instance of the declaring type.
Attributes
Resolves a default value for this field using the following priority chain (first match wins):
Resolves a default value for this field using the following priority chain (first match wins):
@whenAbsent(value)- explicit default from annotation (highest priority)@optionalParam- usesDefault[T]for option-like types- Constructor default - the Scala-level default parameter value
None- no default available
Attributes
- Returns
-
the default value if available,
Noneotherwise