class NotAStatementInIf { public static void main(String[] args) { } public void foo() { if (true) 1; } }