This commit is contained in:
Dmitry Jemerov
2009-09-10 21:51:16 +04:00
parent fc3eb6dd3d
commit 9f4d10da95
9 changed files with 8 additions and 2 deletions
@@ -0,0 +1,17 @@
interface I {
boolean isFoo();
}
class RRR implements I {
public boolean isFooInverted() {
return false;
}
{
boolean foo = !isFooInverted();
}
void g(I i) {
boolean foo = i.isFoo();
}
}