mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user