mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 19:29:30 +07:00
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:
+11
@@ -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 {}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Implement method 'foo'" "false"
|
||||
abstract class Test {
|
||||
public abstract void f<caret>oo();
|
||||
}
|
||||
|
||||
class TImple extends Test {
|
||||
private void foo(){}
|
||||
}
|
||||
Reference in New Issue
Block a user