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

NextPrevUpTopContentsIndex

jobject-class-name

Function
Summary

Returns the name of the class to which a jobject belongs.

Package

lw-ji

Signature

jobject-class-name jobject => class-name

Arguments

jobject

A jobject.

Values

class-name

A string.

Description

The function jobject-class-name returns a string which is the name of the class to which the Java object jobject belongs. The name is then cached in the jobject.

The class for arrays is the internal class name, which is different from the way it is declared in Java. For other objects, the name is the full name of the class.

To obtain the class name as declared in Java, use jobject-pretty-class-name.

See also

jobject
jobject-of-class-p
jobject-pretty-class-name
Types and conversion between Lisp and Java


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex