aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/DelegateRecursion.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-05-12 15:08:55 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-05-21 01:44:45 +0200
commit8cfa421ce5b07ac4932e13035e71d8a52d45f085 (patch)
tree7473279fcaf5bbbd9fd246b62903f4351106ff4a /test/transform/resource/after-ecj/DelegateRecursion.java
parent4996428ea12be7e381d76614e34a15ad1cc6d275 (diff)
downloadlombok-8cfa421ce5b07ac4932e13035e71d8a52d45f085.tar.gz
lombok-8cfa421ce5b07ac4932e13035e71d8a52d45f085.tar.bz2
lombok-8cfa421ce5b07ac4932e13035e71d8a52d45f085.zip
Added an error if @Delegate is used recursively.
Diffstat (limited to 'test/transform/resource/after-ecj/DelegateRecursion.java')
-rw-r--r--test/transform/resource/after-ecj/DelegateRecursion.java26
1 files changed, 0 insertions, 26 deletions
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() {
- }
-}