.JavaClass(object, mustFind=FALSE) .JavaClassObject(javaClass)
object | any object, including a Java object reference. |
mustFind | A logical. If TRUE, and a Java class cannot be determined, an error is generated. |
javaClass | a string specifying a full Java classname, such as "Ljava/lang/Math;". This class can also be specified as "java/lang/Math" or "java.lang.Math". |
.JavaClass | returns a string naming a Java class, of the form "Ljava/lang/String;". If a class cannot be determined, and mustFind is FALSE, returns NULL. |
.JavaClassObject | returns a Java reference object to the Java class object for the specified class. |
.JavaClass(123L) ## "I" .JavaClass(1:3) ## "[I".JavaClass(.JavaRef("abc")) ## "Ljava/lang/String;"
.JavaClassObject("I") .JavaClassObject("[I")