摘要: 一般想到Groovy是JVM上的动态语言,都不知道它还有Static Typeing的功能import groovy.transform.TypeChecked void someMethod() {} @TypeCheckedvoid test() { // compilation error: // cannot find matching method sommeeMethod() sommeeMethod() def name = "Marion" // compilation error: // the variable naaammme is... 阅读全文
posted @ 2013-08-20 16:53 卜海清 阅读(701) 评论(0) 推荐(0)