escalate visibility for moved class (IDEA-119683)

This commit is contained in:
Anna Kozlova
2014-04-11 22:21:16 +02:00
parent 288b080dd7
commit 1977e48c1a
6 changed files with 53 additions and 10 deletions
@@ -0,0 +1,8 @@
package p;
class A {
public void test() {
B.foo();
}
}
@@ -0,0 +1,9 @@
package p;
class B {
private B() {
System.out.println("Constructor");
}
static void foo(){}
}
@@ -0,0 +1,15 @@
package p;
class A {
public void test() {
B.foo();
}
private class B {
private B() {
System.out.println("Constructor");
}
static void foo(){}
}
}