blob: c6428d0695a5ede76a3e40a35bae247c5c4c9231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run.
//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() {
}
}
|