Arguments: name (lisp-class &rest argtypes) &optional retmod
This macro defines a Lisp method where the first argument is specialized on a class defined with def-java-class. The first argument is the name of the Lisp method and the name of the Java method.
The first item in the second argument is the name of a class previously defined with def-java-class. The remaining items in the second argument are strings or symbols that denote Java classes.
If the third argument is specified, it is a call modifier that is appended to every call on the Java method. If the call has an explicit modifier, the modifier in this definition is ignored.
The defined Lisp method expects a first argument to be an instance of the lispclass. Only the first argument is used to dispatch the method, the remaining arguments are bound to an &rest argument. Therefore, if two Java methods with the same name and in the same class are defined with def-java-method, they must have distinct Lisp names.
See jlinker.htm for more information on the jLinker facility.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.