Struct SetterAnnotation

Annotation used to mark a member to be called or set (in case of fields), with args passed to setter.

struct SetterAnnotation(Args...) ;

Constructors

NameDescription
this Constructor accepting a list of arguments, that will be passed to method, or set to a field.

Note

if an overloaded method is annotated with Setter, the method from overload set that matches argument list in Setter annotation will be called.

Parameters

NameDescription
Args the argument types of arguments passed to method