jlleitschuh
06/07/2017, 1:50 PMopen class NoArgKotlinClosure<V : Any>(
val function : () -> V?,
owner: Any? = null,
thisObject: Any? = null) : groovy.lang.Closure<V?>(owner, thisObject) {
@Suppress("unused") // to be called dynamically by Groovy
fun doCall() : V? = function()
}