mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
move members: process qualified ref if it was at the same time statically imported (IDEA-91634)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import static ImportingClass.ImportantConstants.ReallyImportantConstant;
|
||||
|
||||
public class ImportingClass {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(ReallyImportantConstant);
|
||||
System.out.println(ImportantConstants.ReallyImportantConstant);
|
||||
}
|
||||
|
||||
public static class Constants {
|
||||
}
|
||||
|
||||
public static class ImportantConstants {
|
||||
public static String ReallyImportantConstant = "important";
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import static ImportingClass.Constants.ReallyImportantConstant;
|
||||
|
||||
public class ImportingClass {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(ReallyImportantConstant);
|
||||
System.out.println(Constants.ReallyImportantConstant);
|
||||
}
|
||||
|
||||
public static class Constants {
|
||||
public static String ReallyImportantConstant = "important";
|
||||
}
|
||||
|
||||
public static class ImportantConstants {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user