final class ForwardingDelegate
extends groovy.lang.GroovyObjectSupport
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
first |
private java.lang.Object |
second |
Constructor and Description |
---|
ForwardingDelegate(java.lang.Object first,
java.lang.Object second) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
private final java.lang.Object first
private final java.lang.Object second
ForwardingDelegate(java.lang.Object first, java.lang.Object second)
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class groovy.lang.GroovyObjectSupport
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.GroovyObjectSupport
public void setProperty(java.lang.String property, java.lang.Object newValue)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class groovy.lang.GroovyObjectSupport