From 68ca15986728c4d0fdf10a98761693ff6623f18f Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 30 Apr 2012 00:23:33 +0200 Subject: Added tests for delegating recursively: issue 305 --- test/transform/resource/before/DelegateRecursion.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/transform/resource/before/DelegateRecursion.java (limited to 'test/transform/resource/before/DelegateRecursion.java') diff --git a/test/transform/resource/before/DelegateRecursion.java b/test/transform/resource/before/DelegateRecursion.java new file mode 100644 index 00000000..3ac6d666 --- /dev/null +++ b/test/transform/resource/before/DelegateRecursion.java @@ -0,0 +1,15 @@ +import lombok.Delegate; +class DelegateRecursionOuterMost { + @Delegate + private final DelegateRecursionCenter center = new DelegateRecursionCenter(); +} + +class DelegateRecursionCenter { + @Delegate + private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost(); +} + +class DelegateRecursionInnerMost { + public void innerMostMethod() { + } +} \ No newline at end of file -- cgit