mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-24 06:12:33 +07:00
8560c6a5d1
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("");
|
|
}
|
|
}
|
|
} |