Description
I suggest you to improve chaining support (like jquery).
Currently you should return this:
class CurrentClazz { CurrentClazz chainMethod() { //abc return this } }
We can add special keyword for return type ('this' for example). With this keyword groovy will explicitly return this object:
class CurrentClazz { this chainMethod() { //abc without return statement } }