disable copy impls when interface extends; disable implement methods when methods with access problems exist (IDEA-93017)

(cherry picked from commit 3d50c0c08eaee71d14604ca9dfb0fcb2218c9b5c)
This commit is contained in:
anna
2012-11-23 21:13:43 +01:00
parent 1ecf71f23e
commit 6d2b2ced11
3 changed files with 21 additions and 1 deletions
@@ -0,0 +1,11 @@
// "Use existing implementation of 'foo'" "false"
interface I {
void <caret>foo();
}
class IImpl implements I {
@Override
public void foo() {}
}
interface II extends I {}
class IImpl2 extends IImpl implements II {}
@@ -0,0 +1,8 @@
// "Implement method 'foo'" "false"
abstract class Test {
public abstract void f<caret>oo();
}
class TImple extends Test {
private void foo(){}
}