mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test++
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
public class Extracted<T> {
|
||||
private final Test<T> test;
|
||||
private T myT;
|
||||
|
||||
public Extracted(Test<T> test) {
|
||||
this.test = test;
|
||||
}
|
||||
|
||||
void bar() {
|
||||
test.foo(myT);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
class Test<T> {
|
||||
void foo(T t){}
|
||||
}
|
||||
Reference in New Issue
Block a user