mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
11 lines
154 B
Java
11 lines
154 B
Java
interface Foo { void foo(); }
|
|
interface Bar { void bar(); }
|
|
|
|
public class A {
|
|
void foo(Foo l) {
|
|
if (l instanceof Bar) {
|
|
l.<caret>
|
|
}
|
|
}
|
|
}
|