disable import of static constant on type element/assignment place (IDEA-156162)

This commit is contained in:
Anna.Kozlova
2016-05-17 21:13:20 +02:00
parent cb6a738d36
commit d2136b76b2
3 changed files with 31 additions and 0 deletions
@@ -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;
}
@@ -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;
}