All Manuals > LispWorks® User Guide and Reference Manual > 39 The LW-JI Package

record-java-class-lisp-symbol Function

Summary

Records a correspondence between the name of a Java class and a Lisp symbol.

Package

lw-ji

Signature

record-java-class-lisp-symbol java-class-name lisp-name => lisp-name

Arguments
java-class-name
A string.
lisp-name
A symbol.
Values
lisp-name
A symbol.
Description

java-class-name must be the precise full name of a Java class. lisp-name must be a Lisp symbol corresponding to the Java class. The function record-java-class-lisp-symbol records this correspondence.

At the time of writing this correspondence is used only to find CLOS class names from Java class name by create-instance-from-jobject and ensure-lisp-classes-from-tree.

record-java-class-lisp-symbol is used by the importing interface when lisp-name is non-nil. You can can use it yourself, but lisp-name must name an appropriate class (subclass of standard-java-object) .

See also

write-java-class-definitions-to-stream
write-java-class-definitions-to-file
import-java-class-definitions
create-instance-from-jobject
ensure-lisp-classes-from-tree


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46