java push down: ignore visibility conflicts in inheritors (IDEA-211394)

GitOrigin-RevId: f51970b30e584b9ce319107b97a8c2ab2d22e79c
This commit is contained in:
Anna Kozlova
2021-05-17 18:37:53 +02:00
committed by intellij-monorepo-bot
parent 2986cf21d1
commit 6660522b3e
12 changed files with 77 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
package a;
import c.Super;
class SomeA extends Super {
{
foo();
}
protected void foo() {}
}

View File

@@ -0,0 +1,10 @@
package b;
import c.Super;
class SomeB extends Super {
{
foo();
}
protected void foo() {}
}

View File

@@ -0,0 +1,4 @@
package c;
public class Super {
}

View File

@@ -0,0 +1,8 @@
package a;
import c.Super;
class SomeA extends Super {
{
foo();
}
}

View File

@@ -0,0 +1,8 @@
package b;
import c.Super;
class SomeB extends Super {
{
foo();
}
}

View File

@@ -0,0 +1,5 @@
package c;
public class Super {
protected void foo() {}
}