mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 06:32:48 +07:00
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
9 lines
169 B
Java
9 lines
169 B
Java
// "Cast to 'A'" "true-preview"
|
|
class A {
|
|
void foo(Object foo) {
|
|
if(foo instanceof A) {
|
|
((A) foo)
|
|
System.out.println("");
|
|
}
|
|
}
|
|
} |