void (I1 i1, I2 i2, int s) { var i_ = switch (s) { case 1 -> i1; case 2 -> null; default -> i2; }; if (i_ != null) { i_.m(); } var i__ = switch (s) { case 2 -> null; case 1 -> i1; default -> i2; }; if (i__ != null) { i__.m(); } }