Object (int row, int col) { PackageEntry entry = packageTable.getEntryAt(row); if (entry == null || !isCellEditable(row, col)) return null; col += panel.areStaticImportsEnabled() ? 0 : 1; if (col == 0) { return entry.isStatic(); } if (col == 1) { return entry.getPackageName(); } if (col == 2) { return entry.isWithSubpackages(); } throw new IllegalArgumentException(String.valueOf(col)); }