mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
21 lines
262 B
Java
21 lines
262 B
Java
interface N1 {
|
|
String getName();
|
|
}
|
|
interface N2 {
|
|
String getName();
|
|
}
|
|
interface NN extends N1 {}
|
|
|
|
interface N3 {
|
|
String getName();
|
|
}
|
|
interface VeryNamed extends NN, N2, N3, N1 {}
|
|
|
|
class MyClass {
|
|
|
|
void foo(VeryNamed f) {
|
|
f.getNa<caret>me();
|
|
}
|
|
|
|
}
|