mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
assign weaker access: find method to implement (IDEA-153610)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Implement methods" "true"
|
||||
class B {
|
||||
protected void f() {}
|
||||
}
|
||||
interface A {
|
||||
void f();
|
||||
}
|
||||
class D extends B implements A {
|
||||
@Override
|
||||
public void f() {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Implement methods" "true"
|
||||
class B {
|
||||
protected void f() {}
|
||||
}
|
||||
interface A {
|
||||
void f();
|
||||
}
|
||||
<caret>class D extends B implements A {}
|
||||
Reference in New Issue
Block a user