public void setProperty(String property, Object newValue) { try { getMetaClass().setProperty(this, property, newValue); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) ((GroovyObject) delegate).setProperty(property, newValue); else throw e; } }
public Object getProperty(String property) { try { return getMetaClass().getProperty(this, property); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).getProperty(property); else throw e; } }
public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).invokeMethod(name, args); else throw e; } }
public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { if (delegate instanceof GroovyObject) return ((GroovyObject)delegate).invokeMethod(name, args); else throw e; } }
public void setProperty(String property, Object newValue) { try { getMetaClass().setProperty(this, property, newValue); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) ((GroovyObject)delegate).setProperty(property, newValue); else throw e; } }
public void setProperty(String property, Object newValue) { try { getMetaClass().setProperty(this, property, newValue); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) ((GroovyObject)delegate).setProperty(property, newValue); else throw e; } }
public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).invokeMethod(name, args); else throw e; } }
public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).invokeMethod(name, args); else throw e; } }
public Object getProperty(String property) { try { return getMetaClass().getProperty(this, property); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) return ((GroovyObject)delegate).getProperty(property); else throw e; } }
public Object getProperty(String property) { try { return getMetaClass().getProperty(this, property); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).getProperty(property); else throw e; } }
public void setProperty(String property, Object newValue) { try { getMetaClass().setProperty(this, property, newValue); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) ((GroovyObject) delegate).setProperty(property, newValue); else throw e; } }
public Object getProperty(String property) { try { return getMetaClass().getProperty(this, property); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) return ((GroovyObject)delegate).getProperty(property); else throw e; } }
public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { if (delegate instanceof GroovyObject) return ((GroovyObject)delegate).invokeMethod(name, args); else throw e; } }
public Object getProperty(String property) { try { return getMetaClass().getProperty(this, property); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) return ((GroovyObject) delegate).getProperty(property); else throw e; } }
public void setProperty(String property, Object newValue) { try { getMetaClass().setProperty(this, property, newValue); } catch (MissingPropertyException e) { if (delegate instanceof GroovyObject) ((GroovyObject) delegate).setProperty(property, newValue); else throw e; } }