public abstract static class GroovyTypeCheckingExtensionSupport.TypeCheckingDSL extends Script
| Constructor and Description |
|---|
GroovyTypeCheckingExtensionSupport.TypeCheckingDSL() |
| Modifier and Type | Method and 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.
|
evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBindinggetMetaClass, setMetaClasspublic GroovyTypeCheckingExtensionSupport.TypeCheckingDSL()
public 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