boolean (@NotNull ThreeSide side) { switch (side) { case LEFT: return myLeftChange; case BASE: return true; case RIGHT: return myRightChange; default: throw new IllegalArgumentException(side.toString()); } }