mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 18:23:24 +00:00
17 lines
472 B
Java
17 lines
472 B
Java
//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() {
|
|
}
|
|
}
|