FunctionPackage: net.jlinkerToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

jclass

Arguments: name-class-ref

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, a Lisp error is signaled. When caching is enabled, a new class reference is added to a local cache hashtable. If the argument is a class reference, it is returned with no further processing.

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

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

All other classes must be specified with a fully qualified class name.

There is also a compiler macro associated with this function. It 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).

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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version