aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DelegateGenerics.java
blob: 894776eaa995c03611177f3b5f86c7f2a9c2269f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
public class DelegateGenerics<T> {
	I1<T> target;

	@java.lang.SuppressWarnings("all")
	public java.lang.Integer t(final java.lang.Integer t) {
		return this.target.t(t);
	}

	@java.lang.SuppressWarnings("all")
	public java.lang.String i(final java.lang.String a) {
		return this.target.i(a);
	}

	@java.lang.SuppressWarnings("all")
	public T a(final T a) {
		return this.target.a(a);
	}
}

interface I1<T> extends I2<T, Integer, String> {
}

interface I2<A, T, I> extends I3<Integer, I, A> {
}

interface I3<T, I, A> {
	T t(T t);

	I i(I a);

	A a(A a);
}