diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-05-09 13:19:17 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-05-28 21:22:53 +0200 |
commit | 7d08af7d856b41580fa4b913e2b0c9002a8fc341 (patch) | |
tree | 767586c7345da23f1aa034f97477c74932609793 /test/transform/resource/before | |
parent | 77ab1cf867359a2999e3d3962060acddd5565d14 (diff) | |
download | lombok-7d08af7d856b41580fa4b913e2b0c9002a8fc341.tar.gz lombok-7d08af7d856b41580fa4b913e2b0c9002a8fc341.tar.bz2 lombok-7d08af7d856b41580fa4b913e2b0c9002a8fc341.zip |
[fixes #2382] Handle generic supertypes
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/DelegateGenerics.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateGenerics.java b/test/transform/resource/before/DelegateGenerics.java new file mode 100644 index 00000000..e89158a9 --- /dev/null +++ b/test/transform/resource/before/DelegateGenerics.java @@ -0,0 +1,14 @@ +public class DelegateGenerics<T> { + @lombok.experimental.Delegate + I1<T> target; +} + +interface I1<T> extends I2<T, Integer, String> { +} +interface I2<A, T, I> extends I3<Integer, I, A> { +} +interface I3<T, I, A> { + public T t(T t); + public I i(I a); + public A a(A a); +}
\ No newline at end of file |