mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
disable import of static constant on type element/assignment place (IDEA-156162)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Static import constant 'foo.B.K'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
{
|
||||
<caret>K = new X();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
public static Object K = null;
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// "Static import constant 'foo.B.K'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
|
||||
<caret>K foo() {}
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
public static Object K = null;
|
||||
}
|
||||
Reference in New Issue
Block a user