aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-05-16 11:54:56 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-05-28 22:36:35 +0200
commita2a194f32da2058e8783cd664d74799cf418d03d (patch)
treeeaa2a1aaea04cdfbcc6ad1eec89fda913afdcb52 /test/transform/resource/after-ecj
parent7d08af7d856b41580fa4b913e2b0c9002a8fc341 (diff)
downloadlombok-a2a194f32da2058e8783cd664d74799cf418d03d.tar.gz
lombok-a2a194f32da2058e8783cd664d74799cf418d03d.tar.bz2
lombok-a2a194f32da2058e8783cd664d74799cf418d03d.zip
[fixes #2006] Delegate now excludes already implemented methods
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/DelegateAlreadyImplemented.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/DelegateAlreadyImplemented.java b/test/transform/resource/after-ecj/DelegateAlreadyImplemented.java
new file mode 100644
index 00000000..1e12f405
--- /dev/null
+++ b/test/transform/resource/after-ecj/DelegateAlreadyImplemented.java
@@ -0,0 +1,29 @@
+public class DelegateAlreadyImplemented<T> {
+ private @lombok.experimental.Delegate A<Integer, T> a;
+ public DelegateAlreadyImplemented() {
+ super();
+ }
+ public void a() {
+ }
+ public void b(java.util.List<String> l) {
+ }
+ public void c(java.util.List<Integer> l, String[] a, Integer... varargs) {
+ }
+ public void d(String[][][][] d) {
+ }
+ public <Y>void e(Y x) {
+ }
+ public @SuppressWarnings("unchecked") void f(T s, java.util.List<T> l, T[] a, T... varargs) {
+ }
+ public void g(Number g) {
+ }
+}
+interface A<T, T2> {
+ public void a();
+ public void b(java.util.List<T> l);
+ public @SuppressWarnings("unchecked") void c(java.util.List<T> l, String[] a, T... varargs);
+ public void d(String[][][][] d);
+ public <X>X e(X x);
+ public @SuppressWarnings("unchecked") void f(T2 s, java.util.List<T2> l, T2[] a, T2... varargs);
+ public <G extends Number>void g(G g);
+} \ No newline at end of file