mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
find occurrences: distinguish <> with different inference (IDEA-66176)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
void foo(final ArrayList<String> anObject) {
|
||||
List<String> ls = anObject;
|
||||
List<String> lss = anObject;
|
||||
List<Integer> li = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
List<String> ls = <selection>new ArrayList<>()</selection>;
|
||||
List<String> lss = new ArrayList<>();
|
||||
List<Integer> li = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user