mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
11 lines
138 B
Java
11 lines
138 B
Java
class X {
|
|
void foo(Object o){
|
|
if (o instanceof Foo) {
|
|
((Foo<caret>) o).bar();
|
|
}
|
|
}
|
|
|
|
class Foo {
|
|
void bar() {}
|
|
}
|
|
} |