Package: closer-mop

Generic Function writer-method-class

Lambda List

writer-method-class (class direct-slot &rest initargs)


The class argument is a class metaobject.
The direct-slot argument is a direct slot definition metaobject.
The initargs argument is a list of initialization arguments and values.

Return Value

The value returned is a class metaobject.


This generic function is called to determine the class of writer methods created during class initialization and reinitialization. The result must be a subclass of standard-writer-method.

The initargs argument must be the same as will be passed to make-instance to create the reader method. The initargs must include :slot-definition with slot-definition as its value.


writer-method-class ((class standard-class) (direct-slot standard-direct-slot-definition) &rest initargs)
writer-method-class ( (class funcallable-standard-class) (direct-slot standard-direct-slot-definition) &rest initargs)
These methods returns the class standard-writer-method. These methods can be overridden.