optionalParam

made.annotation.optionalParam

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 Annotation
class Object
trait Matchable
class Any
Show all
In this article