class Foo { void test(boolean a, boolean b) { if(a && b) { System.out.println("x"); } } }