aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateRecursion.java
blob: d74107e2d37a1c76bb3f0297a5c262f80f6846bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//skip compare content: This test is to see if the 'delegate recursion is not supported' error pops up.
import lombok.experimental.Delegate;
class DelegateRecursionOuterMost {
	@Delegate
	private final DelegateRecursionCenter center = new DelegateRecursionCenter();
}

class DelegateRecursionCenter {
	@Delegate
	private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost();
}

class DelegateRecursionInnerMost {
	public void innerMostMethod() {
	}
}