The generic function default-constructor-arguments
returns a default list of arguments to pass to the constructor.
It is used by create-instance-jobject-list when its args argument is t
. default-constructor-arguments
is also used by the cl:initialize-instance
method of standard-java-object when :construct
is passed with value t
. It is intended for you to specialize on your own classes.
The default method returns nil
, which is sometimes useful, but in most cases you probably need to pass something.
LispWorks User Guide and Reference Manual - 20 Sep 2017