mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline: do not mess with qualifiers statically imported members (IDEA-83713)
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package p;
|
||||
|
||||
import static p.C.mock;
|
||||
class C {
|
||||
public static String mock() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class D {
|
||||
public static final String CONST = mock();
|
||||
}
|
||||
class QTest {
|
||||
public static void main(String[] args) {
|
||||
String s = D.CON<caret>ST;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user