mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
add on demand imports for code references, e.g. allow to collapse nested class creation (IDEA-65357 )
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user