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