Files
lombok/test/transform/resource/before/DelegateRecursion.java
T
Reinier Zwitserloot 1b534d17d3 Untangling patches to classes that only exist in eclipse, not ecj
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better,
which cannot be applied to ecj as you get load errors (javadoc not a thing there).

As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down
versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues).

The tests now marked as eclipse only don't fail on ecj, but they don't generate the same
result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir
instead, but that's perhaps going overboard.
2020-10-03 23:51:33 +02:00

18 lines
608 B
Java

//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() {
}
}