inline: check accessibility according to the file scope (IDEA-152181)

This commit is contained in:
Anna.Kozlova
2016-04-27 15:16:57 +02:00
parent d07a62dfb8
commit 4f649256bc
6 changed files with 55 additions and 3 deletions
@@ -0,0 +1,15 @@
class Test {
class A {
private Integer i = 0;
void foo() {
i.toString();
}
}
class B extends A {
void bar(A a) {
a.fo<caret>o();
}
}
}