optionalParam
made.annotation.optionalParam
class optionalParam extends MetaAnnotation
Marks a field to use Default[T].apply() as its default value.
Requires a Default instance for the field's type to be in implicit scope. In the default resolution priority chain: @whenAbsent > @optionalParam > constructor default.
Attributes
- See also
- Graph
-
- Supertypes
-
class MetaAnnotationtrait RefiningAnnotationtrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
In this article