qualify static const/method: static members from default packages should be visible for call inside default package

This commit is contained in:
Dmitry Batkovich
2017-07-13 13:56:46 +03:00
parent 02bfe1680f
commit 4e8024e4b4
13 changed files with 200 additions and 11 deletions
@@ -0,0 +1,6 @@
// "Qualify static call..." "true"
class Test {
void m() {
staticMet<caret>hod();
}
}
@@ -0,0 +1,8 @@
// "Qualify static call..." "true"
package org.intellij;
class Test {
void m() {
staticMet<caret>hod();
}
}
@@ -0,0 +1,6 @@
// "Import static method 'java.lang.Integer.parseInt'" "true"
class Test {
void m() {
staticMet<caret>hod();
}
}
@@ -0,0 +1,8 @@
// "Import static method 'java.lang.Integer.parseInt'" "true"
package org.intellij;
class Test {
void m() {
staticMet<caret>hod();
}
}