void (int x, int y) { var sizeHack = myMacDirtySizeHack; if (sizeHack == null) { super.setLocation(x, y); } else { var hackSize = getSize(); super.setBounds(x, y, hackSize.width, hackSize.height); } }