aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateAlreadyImplemented.java
blob: feaf3c4b38ac696b9762fd553bdac75142439cb4 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run.
public class DelegateAlreadyImplemented<T> {
	
	@lombok.experimental.Delegate
	private A<Integer, T> a;
	
	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) {
	}
	
	@SuppressWarnings("unchecked")
	public 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);
	
	@SuppressWarnings("unchecked")
	public void c(java.util.List<T> l, String[] a, T... varargs);
	
	public void d(String[][][][] d);
	
	public <X> X e(X x);
	
	@SuppressWarnings("unchecked")
	public void f(T2 s, java.util.List<T2> l, T2[] a, T2... varargs);
	
	public <G extends Number> void g(G g);
}