void (Object aValue, int rowIndex, int columnIndex) { switch (columnIndex) { case CHECK_COLUMN -> myShouldRename[rowIndex] = (Boolean)aValue; case NEW_NAME_COLUMN -> myNewNames[rowIndex] = (String)aValue; default -> LOG.assertTrue(false); } handleChanges(); repaintTable(); }