NullRef
The ObjectRef representing a null JVM/Kotlin value, i.e. the Prolog-side counterpart of null -- obtainable as ObjectRef.NULL.
Since there is no actual object to reflect upon, every member inherited from ObjectRef that would need one throws NullPointerException, mirroring what dereferencing a null reference does on the JVM. Use it.unibo.tuprolog.solve.libs.oop.primitives.NullRef (the null_ref/1 predicate) to test whether a term is this reference before invoking on it.
See also
Properties
Functions
Like invoke, but converting arguments via TermToObjectConverter.default.
Invokes the (possibly overloaded) member named methodName on this reference, converting arguments to actual JVM/Kotlin values via objectConverter and picking the overload whose formal parameters best match them.