void (int index, @Nullable Item override) { List<Item> current = new ArrayList<>(doGetItems()); if (override != null) { current.set(index, override); } displayMessageAndFix(validate(current, myWarnings)); myTable.repaint(); }