diff options
Diffstat (limited to 'test/transform')
3 files changed, 59 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/DelegateRecursion.java b/test/transform/resource/after-delombok/DelegateRecursion.java new file mode 100644 index 00000000..4e269cd7 --- /dev/null +++ b/test/transform/resource/after-delombok/DelegateRecursion.java @@ -0,0 +1,18 @@ +class DelegateRecursionOuterMost { + private final DelegateRecursionCenter center = new DelegateRecursionCenter(); + @java.lang.SuppressWarnings("all") + public void innerMostMethod() { + this.center.innerMostMethod(); + } +} +class DelegateRecursionCenter { + private final DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost(); + @java.lang.SuppressWarnings("all") + public void innerMostMethod() { + this.inner.innerMostMethod(); + } +} +class DelegateRecursionInnerMost { + public void innerMostMethod() { + } +}
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/DelegateRecursion.java b/test/transform/resource/after-ecj/DelegateRecursion.java new file mode 100644 index 00000000..3d9db9ef --- /dev/null +++ b/test/transform/resource/after-ecj/DelegateRecursion.java @@ -0,0 +1,26 @@ +import lombok.Delegate; +class DelegateRecursionOuterMost { + private final @Delegate DelegateRecursionCenter center = new DelegateRecursionCenter(); + public @java.lang.SuppressWarnings("all") void innerMostMethod() { + this.center.innerMostMethod(); + } + DelegateRecursionOuterMost() { + super(); + } +} +class DelegateRecursionCenter { + private final @Delegate DelegateRecursionInnerMost inner = new DelegateRecursionInnerMost(); + public @java.lang.SuppressWarnings("all") void innerMostMethod() { + this.inner.innerMostMethod(); + } + DelegateRecursionCenter() { + super(); + } +} +class DelegateRecursionInnerMost { + DelegateRecursionInnerMost() { + super(); + } + public void innerMostMethod() { + } +}
\ No newline at end of file diff --git a/test/transform/resource/before/DelegateRecursion.java b/test/transform/resource/before/DelegateRecursion.java new file mode 100644 index 00000000..3ac6d666 --- /dev/null +++ b/test/transform/resource/before/DelegateRecursion.java @@ -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() { + } +}
\ No newline at end of file |