GroovyObjectpublic abstract static class GroovyTypeCheckingExtensionSupport.TypeCheckingDSL extends Script
| Constructor | Description |
|---|---|
TypeCheckingDSL() |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
getProperty(String property) |
Retrieves a property value.
|
Object |
invokeMethod(String name,
Object args) |
Invoke a method (or closure in the binding) defined.
|
void |
setProperty(String property,
Object newValue) |
Sets the given property to the new value.
|
getMetaClass, setMetaClasspublic Object getProperty(String property)
GroovyObjectgetProperty in interface GroovyObjectgetProperty in class Scriptproperty - the name of the property of interestpublic void setProperty(String property, Object newValue)
GroovyObjectsetProperty in interface GroovyObjectsetProperty in class Scriptproperty - the name of the property of interestnewValue - the new value for the propertypublic Object invokeMethod(String name, Object args)
ScriptinvokeMethod in interface GroovyObjectinvokeMethod in class Scriptname - method to callargs - arguments to pass to the method