mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
completion: infer ? super for inference variables with lower bounds
IDEA-45672
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.*;
|
||||
class MyTest {
|
||||
<T> void addIfNotNull(T t, Collection<T> collection) {}
|
||||
{
|
||||
List<Object> l = null;
|
||||
addIfNotNull("someString", l);
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.*;
|
||||
class MyTest {
|
||||
<T> void addIfNotNull(T t, Collection<T> collection) {}
|
||||
{
|
||||
List<Object> l = null;
|
||||
addIfNotNull("someString", <caret>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user