Function | Package: net.jlinker | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## jmethod

Arguments: class-ref name &rest arg-class-refs

This function retrieves a remote reference to a Java method.

The first (class-ref) argument must be a class name or a class reference. The second (name) argument must be a string or symbol that names a method.

The arg-class-refs rest argument may be a single positive integer. In this case, if the class has a unique method for the specified number of arguments, then that method is returned. Otherwise a continuable error is signaled to allow an appropriate method to be selected.

If the arg-class-refs arguments are not a single positive integer, then each argument must be a class name or a class reference that describes an argument type.

The compiler macro associated with the function allows compile-time collection of java class names and method signatures. This information is used to generate a file of class and method definitions that may be loaded to initialize an application, and avoid the class and method lookup overhead in the body of the application (see jlookup).

The symbol jmeth also names this function (for backward compatibility), but please use jmethod instead of jmeth.

See jlinker.htm for more information on the jLinker facility.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version