Get the jobject of the argument.
The functions get-jobject
and ensure-is-jobject
both get the jobject of the object argument. If object is already a jobject it is simply returned. If it is an instance of standard-java-object and has an associated jobject, this jobject is returned.
Otherwise, get-jobject
returns nil
but ensure-is-jobject
signals an error. ensure-is-jobject
uses caller in the error message to identify where the error occurred.
LispWorks User Guide and Reference Manual - 13 Feb 2015