Object (final int rowIndex, final int columnIndex) { if (rowIndex < 0) { return null; } return switch (columnIndex) { case SCOPE_ENABLED_COLUMN -> isEnabled(rowIndex); case SCOPE_NAME_COLUMN -> rowIndex == lastRowIndex() ? LangBundle.message("scopes.table.everywhere.else") : getScopeName(rowIndex); case SEVERITY_COLUMN -> getSeverityState(rowIndex); case HIGHLIGHTING_COLUMN -> getAttributesKey(rowIndex); default -> throw new IllegalArgumentException("Invalid column index " + columnIndex); }; }