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
groovy中的修饰符:
abstract, final, native, private, protected, public, static, strictfp, synchronized, threadsafe, transient, volatile
这些修饰符和java中的是一样的。
类型申明
class, enum, interface
Property names
as, catch, class, def, default, do, else, finally, for, goto, if, in, static, switch, try, while