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.
__add
— Events__aspect
— Aspect Scope Prefix__assembly
— Aspect Scope Prefix__autoreleasepool
— Auto-Release Pools for Cocoa__block
— Blocks__ensure
— Class Contracts (Post-Conditions)__event
— Events__extension
— Extension Types__get
— Properties__invariants
— Class Contracts (Invariants)__mapped
— Mapped Types__module
— Aspect Scope Prefix__old
— Class Contracts (Post-Conditions)__out
— mark a method parameter as by-reference (out-only)__partial
— Partial Types__published
— "Published" visibility for class members, when using Delphi SDKs__ref
— mark a method parameter as by-reference (in/out)__remove
— Blocks__require
— Class Contracts (Pre-Conditions)__result
— accessing the result of a method__selector
— Selectors for Cocoa__set
— Properties__strong
— Storage Modifiers for Cocoa__struct
— Declaring Structs (value types)__unretained
— Storage Modifiers for Cocoa__weak
— Storage Modifiers for Cocoavar
— 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