mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
escalate visibility for moved class (IDEA-119683)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
package p;
|
||||
|
||||
class A {
|
||||
public void test() {
|
||||
B.foo();
|
||||
}
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package p;
|
||||
|
||||
class B {
|
||||
private B() {
|
||||
System.out.println("Constructor");
|
||||
}
|
||||
|
||||
static void foo(){}
|
||||
}
|
||||
+15
@@ -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(){}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user