mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
new inference: initial tests
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import java.util.List;
|
||||
|
||||
public class SubClass extends BaseClass<String> {
|
||||
public static void main(String[] args) {
|
||||
new SubClass().method(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void method(List list) {}
|
||||
}
|
||||
|
||||
class BaseClass<E> implements EntityListListener<E> {
|
||||
public void method(List list) {}
|
||||
}
|
||||
|
||||
interface EntityListListener<E> {
|
||||
public void method(List<E> list);
|
||||
}
|
||||
Reference in New Issue
Block a user