@Override public void addContent(PdfPTable table, Font font, IMagicStats stats) { String text = stats == null ? null : stats.getType(resources); table.addCell(createTextCell(font, text)); }