The niladic system function
⎕THIS returns a reference to the user-defined object whose method is currently being executed. If no method is currently executing, it returns a Null object.
 'I am an instance of ',⎕THIS.⎕CLASSNAME
 'In fact, I am an instance of ',⎕CLASSNAME
 ⎕CLASS ⎕THIS
I am an instance of MyClass
In fact, I am an instance of MyClass
When a method is running,
⎕THIS is implicit when accessing class members or system methods. That is why
⎕CLASSNAME give the same result in the above example. For this reason, you normally do not need to use
⎕THIS except when you want to pass a reference for the current object to another object or to a global function.