blob: ae955eb8b94cbe3264e402154f4ae2ea555ebb9c [file] [log] [blame]
public interface I {}
class A implements I {}
class B implements I {}
class U {
void foo(Object o) {
boolean b = false;
if (o instanceof I) {
b = o instanceof A && bar((A)a) && !bazz((A)a)
}
}
boolean bar(A a){ return true;}
boolean bazz(A a){ return false;}
}