Returns the name of the class to which a jobject belongs.
lw-ji
jobject-class-name jobject => class-name
jobject⇩ |
A jobject. |
class-name |
A string. |
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.
jobject
jobject-of-class-p
jobject-pretty-class-name
15.1 Types and conversion between Lisp and Java
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46