Skip to main content
changed link to Google's cached version [original resource is no longer online]
Source Link
Eel Lee
  • 3.6k
  • 3
  • 34
  • 50

@Delegate@Delegate

class Foo { def footest() { return "footest"} } class Bar { @Delegate Foo foo = new Foo() } def bar = new Bar() assert "footest" == bar.footest() 

@Delegate

class Foo { def footest() { return "footest"} } class Bar { @Delegate Foo foo = new Foo() } def bar = new Bar() assert "footest" == bar.footest() 

@Delegate

class Foo { def footest() { return "footest"} } class Bar { @Delegate Foo foo = new Foo() } def bar = new Bar() assert "footest" == bar.footest() 
Source Link
Omnipresent
  • 30.5k
  • 49
  • 148
  • 191

@Delegate

class Foo { def footest() { return "footest"} } class Bar { @Delegate Foo foo = new Foo() } def bar = new Bar() assert "footest" == bar.footest() 
Post Made Community Wiki by Omnipresent