String (int column) { return switch (column) { case CHECKED_COLUMN -> " "; case ABSTRACT_COLUMN -> myTable.myAbstractColumnHeader; case DISPLAY_NAME_COLUMN -> getDisplayNameColumnHeader(); default -> throw new RuntimeException("Incorrect column index"); }; }