mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 20:21:01 +00:00
Added tests for delegating recursively: issue 305
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import lombok.Delegate;
|
||||
class DelegateRecursionOuterMost {
|
||||
@Delegate
|
||||
private final DelegateRecursionCenter center = new DelegateRecursionCenter();
|
||||
}
|
||||
|
||||
class DelegateRecursionCenter {
|
||||
@Delegate
|
||||
private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost();
|
||||
}
|
||||
|
||||
class DelegateRecursionInnerMost {
|
||||
public void innerMostMethod() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user