Class (int col) { col += panel.areStaticImportsEnabled() ? 0 : 1; if (col == 0) { return Boolean.class; } if (col == 1) { return String.class; } if (col == 2) { return Boolean.class; } throw new IllegalArgumentException(String.valueOf(col)); }