摘要:
Metaprogramming 使groovy动态语言的特性发挥的淋漓尽致(Metaprogramming is writing code that has the ability to dynamicallychange its behavior at runtime.)如下是这方面的知识一个汇总1. 类Discovering the Classdef s = "Hello"printlns.classprintlns.getClass()String.constructors.each{println it}println ""String.inte 阅读全文