Keywords

The following words are treated as keywords in Java, and have special meaning:

Iodine Keywords

Iodine adds the following handful of keywords to support some Language Extensions to Oracle's standard Java implementation.

  • __aspect — referencing Aspects, optional
  • __assembly — mark an attribute as applying to the entire executable
  • __extension — declare a type extension
  • __module — mark an attribute as applying to the current module
  • __out — mark a method parameter as by-reference (out-only)
  • __partial — mark a class as partial
  • __ref — mark a method parameter as by-reference (in/out)
  • var — used instead of a type name, for Type Inference

Standard Java Keywords

These standard keywords are defined by the Java language spec and are also all used by Iodine:

  • abstract
  • assert
  • boolean
  • break
  • byte
  • case
  • catch
  • char
  • class
  • const
  • continue
  • default
  • do
  • double
  • else
  • enum
  • extends
  • false
  • final
  • finally
  • float
  • for
  • goto
  • if
  • implements
  • import
  • instanceof
  • int
  • interface
  • long
  • native
  • new
  • null
  • package
  • private
  • protected
  • public
  • return
  • short
  • static
  • strictfp
  • super
  • switch
  • synchronized
  • this
  • throw
  • throws
  • transient
  • true
  • try
  • void
  • volatile
  • while