import form can be used to avoid having to write
fully-qualified class names. For example:
(import (class java.util Map (HashMap HMap)))
This defines aliases for two classes in the
one with renaming:
Map is an alias for
HMap is an alias for
You can use a
(synchronized obj form1 ... formn)
This waits until it can get an exclusive lock on
and then evaluates
Unlike Java, this is an expression and returns the value of
You can write annotation declarations - see Annotations for details.
Kawa does not yet support annotations on types, or declaring new annotation classes.