mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
include package local methods into method hierarchy (IDEA-164557)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package foo;
|
||||
public abstract class A {
|
||||
abstract void foo();
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo.bar;
|
||||
import foo.A;
|
||||
abstract class B extends A {}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user