J2K: generating "!is" instead of !(.. is ..)

This commit is contained in:
Valentin Kipyatkov
2015-03-25 19:41:25 +03:00
parent 108a1f872c
commit 7d92559d13
7 changed files with 70 additions and 9 deletions
@@ -0,0 +1,6 @@
class C {
void foo(Object o) {
if (!(o instanceof String)) return;
System.out.println("String");
}
}