jdo-static

Function

Package: javatools.jlinker

Arguments: method class &rest args

This function is associated with the macro jstatic. The macro 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.

This function calls a heuristically determined static method with the given arguments. If the first argument is a string or symbol, it names a method and the second argument must be a class name or a class reference. We look for a method with the number of arguments given. Otherwise, the first argument is assumed to be a method reference and again, the second argument is ignored. If a unique method can be selected, then that method is called. Otherwise a continuable error is signalled to allow an appropriate method to be selected.

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.

Created 2000.10.5.