@CompileStatic public class DSLUtils extends Object implements groovy.lang.GroovyObject
| Modifier and Type | Field and Description |
|---|---|
static groovy.lang.Closure |
EMPTY_CLOSURE |
| Constructor and Description |
|---|
DSLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
delegateFirstAndRun(Object builder,
groovy.lang.Closure<T> closure) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic static <T> T delegateFirstAndRun(Object builder, groovy.lang.Closure<T> closure)
Copyright © 2016. All rights reserved.