void (@NotNull TableModel dataModel) { if (!(dataModel instanceof ListWrappingTableModel)) { throw new IllegalArgumentException( "dataModel should be of type ListWrappingTableModel"); } super.setModel(dataModel); }