mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
add single static import: process nested references (IDEA-94951)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import foo.*;
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
Class1.<String>f<caret>oo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import foo.*;
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
new Class1.Inn<caret>er2<Class1.Inner1>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import foo.*;
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
new Class1.Inner2<Class1.In<caret>ner1>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import foo.*;
|
||||
|
||||
import static foo.Class1.Inner1;
|
||||
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
new Class1.Inner2<Inner1>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import foo.*;
|
||||
|
||||
import static foo.Class1.Inner2;
|
||||
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
new Inner2<Class1.Inner1>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user