Kawa, the Java-based Scheme system

Node:Objects Classes and Modules, Next:Low-level functions, Previous:Types, Up:Top

## Object, Classes and Modules

Kawa provides various ways to define, create, and access Java objects. Here are the currently supported features.

The Kawa module system is based on the features of the Java class system.

this | Syntax

Returns the "this object" - the current instance of the current class. The current implementation is incomplete, not robust, and not well defined. However, it will have to do for now. Note: "`this`" is a macro, not a variable, so you have to write it using parentheses: `(this)`. A planned extension will allow an optional class specifier (needed for nested clases).