allow to add static import for containing class when it already contains imported members (IDEA-96156)

This commit is contained in:
anna
2013-04-25 13:10:07 +02:00
parent bca1f12e1e
commit e8ef5ea7d7
4 changed files with 60 additions and 23 deletions

View File

@@ -0,0 +1,7 @@
import static foo.Clazz.Foo.Const_1;
class MyObject{
public void doIt(){
foo.Clazz.Fo<caret>o.Const_1;
}
}

View File

@@ -0,0 +1,8 @@
import static foo.Clazz.Foo;
import static foo.Clazz.Foo.Const_1;
class MyObject{
public void doIt(){
Foo.Const_1;
}
}