The following words are reserved in Groovy:
abstract as assert boolean break byte case catch char class const continue def default do double else enum extends false final finally float for goto if implements import in instanceof int interface long native new null package private protected public return short static strictfp super switch synchronized this threadsafe throw throws transient true try void volatile while |
The following words (included in the full list above) can be used as modifiers:
abstract, final, native, private, protected, public, static, strictfp, synchronized, threadsafe, transient, volatile |
This is the same as in Java.
The following words (included in the full list above) can be used to start type delcarations:
class, enum, interface |
The following reserved words (included in the full list above) are allowed as property names:
as, catch, class, def, default, do, else, finally, for, goto, if, in, static, switch, try, while |