%THIS returns an Object value that contains a reference to the
class instance on whose behalf the native method is being called.
%THIS is valid only in non-static native methods. This built-in gives
non-static native methods access to the
class instance.
A non-static native method works on a specific instance of its
class. This object is actually passed as a parameter to the native
method by Java™, but it does not appear in the prototype or procedure
interface for the native method. In a Java method, the object instance
is referred to by the Java reserved word this.
In an RPG native method, the object instance is referred to by the
%THIS built-in function.