class Mapping { private int myInt; public void method(int p1, boolean p2) { myInt = p2 ? p1 : 0; if (!p2) { myInt *= p1; } } public boolean sayYes() { return true; } public void context() { method(15 / 5, sayYes()); } }