mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 13:50:53 +07:00
15 lines
194 B
Java
15 lines
194 B
Java
public abstract class Super {
|
|
|
|
void foo() {
|
|
if (this instanceof Sub) {
|
|
((Sub) this).subMethod();<caret>
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|
|
interface Sub extends Zzza {
|
|
void subMethod() {}
|
|
|
|
} |