jclass

Macro

Package: javatools.jlinker

Arguments: name-class-ref

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

If the argument is a string or symbol, this function returns a reference to the Java class with that name. If the class lookup triggers a Java error, the value returned is as string describing the error. If the argument is a class reference, it is returned with no further processing. When caching is enabled, a new class reference is added to a local cache hashtable.

The strings "int", "short", ... are used to denote the classes that represent non-reference values in Java.

Strings of the form "[[class-or-type" are used to denote classes that represent array types.

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.