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 --- .../resource/after-delombok/DelegateRecursion.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/transform/resource/after-delombok/DelegateRecursion.java (limited to 'test/transform/resource/after-delombok/DelegateRecursion.java') diff --git a/test/transform/resource/after-delombok/DelegateRecursion.java b/test/transform/resource/after-delombok/DelegateRecursion.java new file mode 100644 index 00000000..4e269cd7 --- /dev/null +++ b/test/transform/resource/after-delombok/DelegateRecursion.java @@ -0,0 +1,18 @@ +class DelegateRecursionOuterMost { + private final DelegateRecursionCenter center = new DelegateRecursionCenter(); + @java.lang.SuppressWarnings("all") + public void innerMostMethod() { + this.center.innerMostMethod(); + } +} +class DelegateRecursionCenter { + private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost(); + @java.lang.SuppressWarnings("all") + public void innerMostMethod() { + this.inner.innerMostMethod(); + } +} +class DelegateRecursionInnerMost { + public void innerMostMethod() { + } +} \ No newline at end of file -- cgit