void (@NotNull Graphics g, @NotNull Icon icon, int offset) { Rectangle area = computePaintArea(); //noinspection UnnecessaryLocalVariable int x = offset; int y = area.y + (area.height - icon.getIconHeight()) / 2; IconUtil.paintSelectionAwareIcon(icon, this, g, x, y, isSelection()); }