include package local methods into method hierarchy (IDEA-164557)

This commit is contained in:
Anna.Kozlova
2016-11-30 15:21:38 +01:00
parent c0349c4953
commit a17be30b79
8 changed files with 54 additions and 25 deletions

View File

@@ -0,0 +1,4 @@
package foo;
public abstract class A {
abstract void foo();
}

View File

@@ -0,0 +1,3 @@
package foo.bar;
import foo.A;
abstract class B extends A {}

View File

@@ -0,0 +1,11 @@
package foo.bar;
<error descr="Class 'C' must either be declared abstract or implement abstract method 'foo()' in 'A'">class C extends B</error> {}
<error descr="Class 'C1' must either be declared abstract or implement abstract method 'foo()' in 'A'">class C1 extends B</error>{
public void foo(){}
}
<error descr="Class 'C2' must either be declared abstract or implement abstract method 'foo()' in 'A'">class C2 extends B</error> {
public int foo() throws java.io.IOException {
return 0;
}
}