mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
14 lines
188 B
Java
14 lines
188 B
Java
public class Class2 {
|
|
void test(Object o) {
|
|
if (o instanceof B && ((A)o).a() && o.<caret>
|
|
}
|
|
}
|
|
|
|
|
|
interface A {
|
|
boolean a();
|
|
}
|
|
|
|
interface B extends A {
|
|
boolean b();
|
|
} |