add on demand imports for code references, e.g. allow to collapse nested class creation (IDEA-65357 )

This commit is contained in:
anna
2011-06-15 15:30:40 +04:00
parent d40521434f
commit e62afe784d
3 changed files with 29 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
// "Add on demand static import for 'java.lang.Thread'" "true"
package test;
import static java.lang.Thread.*;
public class Foo {
{
<caret>State en = new State();
}
}

View File

@@ -0,0 +1,8 @@
// "Add on demand static import for 'java.lang.Thread'" "true"
package test;
public class Foo {
{
Thre<caret>ad.State en = new Thread.State();
}
}