String (int column) { return switch (column) { case CHECKED_COLUMN -> " "; case FIELD_COLUMN -> JavaRefactoringBundle.message("encapsulate.fields.field.column.name"); case GETTER_COLUMN -> JavaRefactoringBundle.message("encapsulate.fields.getter.column.name"); case SETTER_COLUMN -> JavaRefactoringBundle.message("encapsulate.fields.setter.column.name"); default -> throw new RuntimeException("Incorrect column index"); }; }