add on demand static import: proceed with type arguments (IDEA-174965)

otherwise unused imports could be inserted and the references won't be collapsed inside <>
This commit is contained in:
Anna Kozlova
2017-06-26 13:51:16 +03:00
parent 3766febf2e
commit 4311ffcd29
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
// "Add on demand static import for 'java.util.Map'" "true"
import java.util.List;
import java.util.Map;
import static java.util.Map.*;
class Foo {
{
List<Entry> l;
}
}

View File

@@ -0,0 +1,10 @@
// "Add on demand static import for 'java.util.Map'" "true"
import java.util.List;
import java.util.Map;
class Foo {
{
List<Ma<caret>p.Entry> l;
}
}