From 8cfa421ce5b07ac4932e13035e71d8a52d45f085 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 May 2014 15:08:55 +0200 Subject: Added an error if @Delegate is used recursively. --- .../resource/after-ecj/DelegateRecursion.java | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 test/transform/resource/after-ecj/DelegateRecursion.java (limited to 'test/transform/resource/after-ecj/DelegateRecursion.java') diff --git a/test/transform/resource/after-ecj/DelegateRecursion.java b/test/transform/resource/after-ecj/DelegateRecursion.java deleted file mode 100644 index 7d1705a7..00000000 --- a/test/transform/resource/after-ecj/DelegateRecursion.java +++ /dev/null @@ -1,26 +0,0 @@ -import lombok.Delegate; -class DelegateRecursionOuterMost { - private final @Delegate DelegateRecursionCenter center = new DelegateRecursionCenter(); - DelegateRecursionOuterMost() { - super(); - } - public @java.lang.SuppressWarnings("all") void innerMostMethod() { - this.center.innerMostMethod(); - } -} -class DelegateRecursionCenter { - private final @Delegate DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost(); - DelegateRecursionCenter() { - super(); - } - public @java.lang.SuppressWarnings("all") void innerMostMethod() { - this.inner.innerMostMethod(); - } -} -class DelegateRecursionInnerMost { - DelegateRecursionInnerMost() { - super(); - } - public void innerMostMethod() { - } -} -- cgit